summaryrefslogtreecommitdiff
path: root/auto-installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auto-installer.sh')
-rwxr-xr-xauto-installer.sh6
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