summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-26 11:31:30 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-26 11:31:30 +0100
commit3519681c9fdc6bc31631c614a148efb5310314ee (patch)
tree71924eb377c0acfaad7e7635bc9993415df22124 /bin
parent4df1acb7babeeefaa56c2d00aa5853eba4b7fd83 (diff)
downloadjenkins.debian.net-3519681c9fdc6bc31631c614a148efb5310314ee.tar.xz
two new jobs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index dcf66503..4ce342ac 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -36,7 +36,7 @@ DISKSIZE_IN_GB=$3
URL=$4
# $5 and $6 are used below for language setting
RAMSIZE=1024
-if [ "$(basename $URL)" != "amd64" ] ; then
+if [ "${$URL: -4}" = ".iso" ] ; then
IMAGE=$(pwd)/$(basename $URL)
IMAGE_MNT="/media/cd-$NAME.iso"
else