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_local-includes | |
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_local-includes')
-rwxr-xr-x | helpers/binary_local-includes | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/helpers/binary_local-includes b/helpers/binary_local-includes index 63986aeca..44f93c9dc 100755 --- a/helpers/binary_local-includes +++ b/helpers/binary_local-includes @@ -45,10 +45,11 @@ then cd "${OLDPWD}" # Removing symlinks - if [ "${LH_BINARY_IMAGES}" = "usb-hdd" ] - then - find binary -type l | xargs rm -f - fi + case "${LH_BINARY_IMAGES}" in + usb*) + find binary -type l | xargs rm -f + ;; + esac # Creating stage file Create_stagefile .stage/binary_local-includes |