Using Debian terminology for images of unreleased suites.

This commit is contained in:
Daniel Baumann 2007-09-23 13:59:19 +02:00
parent 6c45ff0870
commit e9ed48833f
2 changed files with 7 additions and 2 deletions

View File

@ -11,8 +11,8 @@ set -e
# Debian releases # Debian releases
VERSION_etch="4.0 r0" VERSION_etch="4.0 r0"
VERSION_lenny="prerelease" VERSION_lenny="testing"
VERSION_sid="unreleased" VERSION_sid="unstable"
# Ubuntu releases # Ubuntu releases
VERSION_hoary="5.04" VERSION_hoary="5.04"

View File

@ -59,6 +59,11 @@ DISTRIBUTION="`echo ${LH_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]'`"
DISTRIBUTION="${DISTRIBUTION}`echo ${LH_DISTRIBUTION} | cut -b 2-`" DISTRIBUTION="${DISTRIBUTION}`echo ${LH_DISTRIBUTION} | cut -b 2-`"
eval VERSION="$`echo VERSION_${LH_DISTRIBUTION}`" eval VERSION="$`echo VERSION_${LH_DISTRIBUTION}`"
if [ "${LH_DISTRIBUTION}" != "etch" ]
then
ARCHITECTURE="Snapshot ${ARCHITECTURE}"
fi
case "${LH_MODE}" in case "${LH_MODE}" in
debian) debian)
case "${LH_DEBIAN_INSTALLER}" in case "${LH_DEBIAN_INSTALLER}" in