diff options
Diffstat (limited to 'helpers/lh_installlinux')
-rwxr-xr-x | helpers/lh_installlinux | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/helpers/lh_installlinux b/helpers/lh_installlinux index 40897d8..24dd7d1 100755 --- a/helpers/lh_installlinux +++ b/helpers/lh_installlinux @@ -21,12 +21,5 @@ case "${1}" in esac # Installing linux image -if [ "${LIVE_FLAVOUR}" = "minimal" ] || [ "${LIVE_FLAVOUR}" = "mini" ] -then - mv "${LIVE_CHROOT}"/boot/vmlinuz* "${DESTDIR}"/vmlinuz - mv "${LIVE_CHROOT}"/boot/initrd.img* "${DESTDIR}"/initrd.gz - rm -f "${LIVE_CHROOT}"/vmlinuz "${LIVE_CHROOT}"/initrd.img -else - cp "${LIVE_CHROOT}"/boot/vmlinuz* "${DESTDIR}"/vmlinuz - cp "${LIVE_CHROOT}"/boot/initrd.img* "${DESTDIR}"/initrd.gz -fi +cp "${LIVE_CHROOT}"/boot/vmlinuz* "${DESTDIR}"/vmlinuz +cp "${LIVE_CHROOT}"/boot/initrd.img* "${DESTDIR}"/initrd.gz |