summaryrefslogtreecommitdiffstats
path: root/bin/chroot-installation.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-04-26 15:09:44 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-26 15:09:44 +0200
commit18e8570207a7ff9667bc279499dba963eda1975c (patch)
tree39bc0ca71d247e793a3afe6efd0ea1b448960713 /bin/chroot-installation.sh
parentf3459ee605dca1dcab56d02585c8d37885f9b9c3 (diff)
downloadjenkins.debian.net-18e8570207a7ff9667bc279499dba963eda1975c.tar.xz
refactor
Diffstat (limited to 'bin/chroot-installation.sh')
-rwxr-xr-xbin/chroot-installation.sh6
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