summaryrefslogtreecommitdiff
path: root/scripts/build/binary_disk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_disk')
-rwxr-xr-xscripts/build/binary_disk10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/build/binary_disk b/scripts/build/binary_disk
index a2bdf9ad9..0e56eb8ef 100755
--- a/scripts/build/binary_disk
+++ b/scripts/build/binary_disk
@@ -21,13 +21,9 @@ USAGE="${PROGRAM} [--force]"
# Processing arguments and configuration files
Init_config_data "${@}"
-case "${LIVE_IMAGE_TYPE}" in
- iso*|hdd*)
- ;;
- *)
- exit 0
- ;;
-esac
+if ! In_list "${LIVE_IMAGE_TYPE}" iso iso-hybrid hdd; then
+ exit 0
+fi
Echo_message "Begin installing disk information..."