summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-02-15 16:13:12 -0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:36:01 +0100
commitcd087b9abf60e31ddfe5be8e17d38d35f672b0c6 (patch)
tree0a9edcba51433a17de7a17814e991cf2bd003207 /helpers
parenta6da98c2b8390d3f31790f9335b4af3348e81374 (diff)
downloadlive-build-cd087b9abf60e31ddfe5be8e17d38d35f672b0c6.zip
live-build-cd087b9abf60e31ddfe5be8e17d38d35f672b0c6.tar.gz
binary: do not fail if parameters.txt isn't available
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_linux-image4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image
index 6795ec4..8290887 100755
--- a/helpers/lh_binary_linux-image
+++ b/helpers/lh_binary_linux-image
@@ -90,11 +90,11 @@ case "${LH_INITRAMFS}" in
casper)
# Checking casper templates
Check_templates casper
- cp "${TEMPLATES}"/parameters.txt "${DESTDIR}"/parameters.txt
+ cp "${TEMPLATES}"/parameters.txt "${DESTDIR}"/parameters.txt || true
;;
live-initramfs)
- cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt
+ cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt || true
;;
esac