diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-04-26 15:09:44 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-04-26 15:09:44 +0200 |
commit | 18e8570207a7ff9667bc279499dba963eda1975c (patch) | |
tree | 39bc0ca71d247e793a3afe6efd0ea1b448960713 /bin/chroot-installation.sh | |
parent | f3459ee605dca1dcab56d02585c8d37885f9b9c3 (diff) | |
download | jenkins.debian.net-18e8570207a7ff9667bc279499dba963eda1975c.tar.xz |
refactor
Diffstat (limited to 'bin/chroot-installation.sh')
-rwxr-xr-x | bin/chroot-installation.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index b3388e02..370f7ed4 100755 --- a/bin/chroot-installation.sh +++ b/bin/chroot-installation.sh @@ -260,11 +260,7 @@ fi if [ "$3" != "" ] ; then case $3 in - squeeze) upgrade2 squeeze;; - wheezy) upgrade2 wheezy;; - jessie) upgrade2 jessie;; - stretch) upgrade2 stretch;; - sid) upgrade2 sid;; + squeeze|wheezy|jessie|stretch|sid) upgrade2 $3;; *) echo "unsupported distro." ; exit 1 ;; esac fi |