From 624fca8de55375fa425ef85b0cb6ac41721f4cc2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Oct 2007 12:45:57 +0200 Subject: Removing ubuntu support. --- helpers/lh_source_disk | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to 'helpers/lh_source_disk') diff --git a/helpers/lh_source_disk b/helpers/lh_source_disk index b744a8a54..433a71023 100755 --- a/helpers/lh_source_disk +++ b/helpers/lh_source_disk @@ -59,27 +59,19 @@ DISTRIBUTION="$(echo ${LH_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]')" DISTRIBUTION="${DISTRIBUTION}$(echo ${LH_DISTRIBUTION} | cut -b 2-)" eval VERSION="$`echo VERSION_${LH_DISTRIBUTION}`" -case "${LH_MODE}" in - debian) - if [ -d binary/pool/main/b/base-installer ] - then - if [ -d binary/pool/main/l/live-installer ] - then - TYPE="LIVE/INSTALL" - fi - - TYPE="LIVE/NETINST" - else - TYPE="LIVE" - fi - - echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} ${TYPE} Source $(date +%Y%m%d-%H:%M)" > source/.disk/info - ;; - - ubuntu) - echo "Ubuntu Linux ${VERSION} \"${DISTRIBUTION}\" - Unofficial ${ARCHITECTURE} LIVE/NETINST Source $(date +%Y%m%d-%H:%M)" > source/.disk/info - ;; -esac +if [ -d binary/pool/main/b/base-installer ] +then + if [ -d binary/pool/main/l/live-installer ] + then + TYPE="LIVE/INSTALL" + fi + + TYPE="LIVE/NETINST" +else + TYPE="LIVE" +fi + +echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} ${TYPE} Source $(date +%Y%m%d-%H:%M)" > source/.disk/info # Creating stage file Create_stagefile .stage/source_disk -- cgit v1.2.3