From 95fa96a6c1d34ba8e53f8e9badd8c0d0c94eff37 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 16 Aug 2009 01:59:59 +0100 Subject: Added skip cd autodetection option --- auto-installer.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'auto-installer.sh') diff --git a/auto-installer.sh b/auto-installer.sh index 4d84887..586d974 100755 --- a/auto-installer.sh +++ b/auto-installer.sh @@ -35,7 +35,11 @@ parseargs "$@" echo "Checking CD version" -export CDMD5=$(md5sum "${CDMOUNT}/data1.cab"|awk '{print $1}') +if [ $SKIP_DETECTION -eq 0 ]; then + export CDMD5=$(md5sum "${CDMOUNT}/data1.cab"|awk '{print $1}') +else + export CDMD5="" +fi get_game -- cgit v1.2.3