diff options
author | Nick White <git@njw.me.uk> | 2009-08-16 01:59:59 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-08-16 01:59:59 +0100 |
commit | 95fa96a6c1d34ba8e53f8e9badd8c0d0c94eff37 (patch) | |
tree | 8f8ed44a898998ecf0bddcb6554aee125f7185b3 /auto-installer.sh | |
parent | 2cb16555751d252e3a664b56697d20f6a7f41675 (diff) | |
download | gemrb-gameinstallers-95fa96a6c1d34ba8e53f8e9badd8c0d0c94eff37.tar.bz2 gemrb-gameinstallers-95fa96a6c1d34ba8e53f8e9badd8c0d0c94eff37.zip |
Added skip cd autodetection option
Diffstat (limited to 'auto-installer.sh')
-rwxr-xr-x | auto-installer.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |