[Qa-jenkins-scm] [jenkins.debian.net] 01/01: refactor

Holger Levsen holger at moszumanska.debian.org
Sun Apr 26 13:09:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 18e8570207a7ff9667bc279499dba963eda1975c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Apr 26 15:09:44 2015 +0200

    refactor
---
 bin/chroot-installation.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index b3388e0..370f7ed 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list