summaryrefslogtreecommitdiff
path: root/helpers/binary_linux-image
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/binary_linux-image')
-rwxr-xr-xhelpers/binary_linux-image5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/binary_linux-image b/helpers/binary_linux-image
index bf0936a..e82ec10 100755
--- a/helpers/binary_linux-image
+++ b/helpers/binary_linux-image
@@ -73,7 +73,10 @@ cp chroot/boot/initrd.img-* "${DESTDIR}"
case "${LH_INITRAMFS}" in
live-initramfs)
- cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt || true
+ if [ -e chroot/usr/share/doc/live-initramfs/parameters.txt ]
+ then
+ cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt
+ fi
;;
esac