From cd087b9abf60e31ddfe5be8e17d38d35f672b0c6 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 15 Feb 2008 16:13:12 -0200 Subject: binary: do not fail if parameters.txt isn't available --- helpers/lh_binary_linux-image | 4 ++-- 1 file 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 -- cgit v1.0