summaryrefslogtreecommitdiff
path: root/helpers/lh_source_disk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-10-19 12:45:57 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commit624fca8de55375fa425ef85b0cb6ac41721f4cc2 (patch)
treed7daee58758e59b30ae468c281610c3a00bcf469 /helpers/lh_source_disk
parent255c11cde51bfa76211c7b269a40e24ad5f087fc (diff)
downloadlive-build-624fca8de55375fa425ef85b0cb6ac41721f4cc2.zip
live-build-624fca8de55375fa425ef85b0cb6ac41721f4cc2.tar.gz
Removing ubuntu support.
Diffstat (limited to 'helpers/lh_source_disk')
-rwxr-xr-xhelpers/lh_source_disk34
1 files changed, 13 insertions, 21 deletions
diff --git a/helpers/lh_source_disk b/helpers/lh_source_disk
index b744a8a..433a710 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