summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-26 15:20:20 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-26 15:20:20 +0100
commit4eafd2257df33813be29242946600eef3fc7ac3b (patch)
tree46500634b22664ce11d2e237eddd6504cc2ddc3a
parent31ecc2b63f1372f049bd8de6f1b6c769a4737ef7 (diff)
downloadjenkins.debian.net-4eafd2257df33813be29242946600eef3fc7ac3b.tar.xz
fixup 3519681
-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 4ce342ac..dcf66503 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 [ "${$URL: -4}" = ".iso" ] ; then
+if [ "$(basename $URL)" != "amd64" ] ; then
IMAGE=$(pwd)/$(basename $URL)
IMAGE_MNT="/media/cd-$NAME.iso"
else