diff options
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 |