binary: do not fail if parameters.txt isn't available
This commit is contained in:
parent
a6da98c2b8
commit
cd087b9abf
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue