diff options
author | Daniel Baumann <daniel@debian.org> | 2007-10-19 12:45:57 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-10-19 12:45:57 +0200 |
commit | 979cd28cc41c7eb6284f001922de51d17fd8538d (patch) | |
tree | d7daee58758e59b30ae468c281610c3a00bcf469 /helpers/lh_source_disk | |
parent | 29cbc991eb41368d4198d69ce5ae69f06dd058e3 (diff) | |
download | vyos-live-build-979cd28cc41c7eb6284f001922de51d17fd8538d.tar.gz vyos-live-build-979cd28cc41c7eb6284f001922de51d17fd8538d.zip |
Removing ubuntu support.
Diffstat (limited to 'helpers/lh_source_disk')
-rwxr-xr-x | helpers/lh_source_disk | 34 |
1 files changed, 13 insertions, 21 deletions
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 |