binary: do not fail if parameters.txt isn't available

This commit is contained in:
Otavio Salvador 2008-02-15 16:13:12 -02:00
parent 03783def4b
commit 92cd4a1daa
1 changed files with 2 additions and 2 deletions

View File

@ -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