From 27be06512a9fcfbc68ad4f04efa13aa34e43bd2d Mon Sep 17 00:00:00 2001 From: "Cody A.W. Somerville" Date: Wed, 2 Sep 2009 07:39:13 +0200 Subject: Add option to disable use of GTK debian-installer. Adding the ability to disable use of the GTK graphical debian-installer is handy either to reduce the size of the images or if the necessary files aren't available. --- helpers/lh_binary_debian-installer | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'helpers/lh_binary_debian-installer') 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 -- cgit v1.2.3