diff options
author | Daniel Baumann <daniel@debian.org> | 2010-02-18 17:12:59 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2010-02-20 17:57:26 +0100 |
commit | 728f74d9b419c818fa19855c5d1cb7f8efa4ae04 (patch) | |
tree | b227ffc3d77fcd3ba49dabbda5e2674c43f8bea3 /helpers/binary_debian-installer | |
parent | 095ce3a7b4d38f6065ac908494db9ffa8e3756ae (diff) | |
download | vyos-live-build-728f74d9b419c818fa19855c5d1cb7f8efa4ae04.tar.gz vyos-live-build-728f74d9b419c818fa19855c5d1cb7f8efa4ae04.zip |
Cleaning up usb helpers for a future usb-zip addition.
Diffstat (limited to 'helpers/binary_debian-installer')
-rwxr-xr-x | helpers/binary_debian-installer | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/helpers/binary_debian-installer b/helpers/binary_debian-installer index cb1af389c..d525ca6bf 100755 --- a/helpers/binary_debian-installer +++ b/helpers/binary_debian-installer @@ -83,7 +83,7 @@ case "${LH_BINARY_IMAGES}" in DESTDIR="tftpboot/debian-install/${LH_ARCHITECTURE}" ;; - tar|usb-hdd) + usb*|tar) DESTDIR="binary/install" ;; @@ -601,10 +601,14 @@ EOF ln -s ${LH_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION} done - if [ "${LH_BINARY_IMAGES}" != "usb-hdd" ] - then - ln -s . binary/debian - fi + case "${LH_BINARY_IMAGES}" in + usb*) + ;; + + *) + ln -s . binary/debian + ;; + esac # Including preseeding files if Find_files config/binary_debian-installer/*.cfg |