debian: list version names, multiple version support

Although multiple version not tested thoroughly...
This commit is contained in:
Marek Marczykowski-Górecki 2014-07-26 04:31:42 +02:00
parent fa134bd512
commit 68b7313f8d
2 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,14 @@ case "$DIST" in
DISTRIBUTION=fedora DISTRIBUTION=fedora
VERSION=${DIST/fc/} VERSION=${DIST/fc/}
;; ;;
wheezy)
DISTRIBUTION=debian
VERSION=7
;;
jessie)
DISTRIBUTION=debian
VERSION=8
;;
*) *)
DISTRIBUTION="$DIST" DISTRIBUTION="$DIST"
VERSION= VERSION=

View File

@ -1,6 +1,6 @@
# The codename of the debian version to install. # The codename of the debian version to install.
# jessie = testing, wheezy = stable # jessie = testing, wheezy = stable
DEBIANVERSION='jessie' DEBIANVERSION=$DIST
EXTRAPKGS="openssh-clients,screen,vim-nox,less" EXTRAPKGS="openssh-clients,screen,vim-nox,less"