summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_debian-installer
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_debian-installer')
-rwxr-xr-xhelpers/lh_binary_debian-installer25
1 files changed, 14 insertions, 11 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 66a8bde9d..32d0ce040 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -320,18 +320,21 @@ else
# Downloading graphical-installer
DOWNLOAD_GTK_INSTALLER=0
- case "${LH_ARCHITECTURE}" in
- amd64|i386|lpia)
- DOWNLOAD_GTK_INSTALLER=1
- ;;
-
- powerpc)
- if [ "${LH_DEBIAN_INSTALLER}" = "netboot" ]
- then
+ if [ "${LH_DEBIAN_INSTALLER_GUI}" = "enabled" ]
+ then
+ case "${LH_ARCHITECTURE}" in
+ amd64|i386|lpia)
DOWNLOAD_GTK_INSTALLER=1
- fi
- ;;
- esac
+ ;;
+
+ powerpc)
+ if [ "${LH_DEBIAN_INSTALLER}" = "netboot" ]
+ then
+ DOWNLOAD_GTK_INSTALLER=1
+ fi
+ ;;
+ esac
+ fi
if [ ${DOWNLOAD_GTK_INSTALLER} -eq 1 ]
then