debian: list version names, multiple version support
Although multiple version not tested thoroughly...
This commit is contained in:
parent
fa134bd512
commit
68b7313f8d
@ -7,6 +7,14 @@ case "$DIST" in
|
||||
DISTRIBUTION=fedora
|
||||
VERSION=${DIST/fc/}
|
||||
;;
|
||||
wheezy)
|
||||
DISTRIBUTION=debian
|
||||
VERSION=7
|
||||
;;
|
||||
jessie)
|
||||
DISTRIBUTION=debian
|
||||
VERSION=8
|
||||
;;
|
||||
*)
|
||||
DISTRIBUTION="$DIST"
|
||||
VERSION=
|
||||
|
@ -1,6 +1,6 @@
|
||||
# The codename of the debian version to install.
|
||||
# jessie = testing, wheezy = stable
|
||||
DEBIANVERSION='jessie'
|
||||
DEBIANVERSION=$DIST
|
||||
|
||||
EXTRAPKGS="openssh-clients,screen,vim-nox,less"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user