From 3519681c9fdc6bc31631c614a148efb5310314ee Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 26 Dec 2012 11:31:30 +0100 Subject: two new jobs --- bin/g-i-installation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2