diff options
author | nick <nick@debian.hws.edu> | 2009-04-21 12:26:30 -0500 |
---|---|---|
committer | nick <nick@debian.hws.edu> | 2009-04-21 12:26:30 -0500 |
commit | d400ae382e09b091fb372ffc9163273ff40ddb1d (patch) | |
tree | f6ddeee2f984b5c4e0561621de1e722e312b2934 /totsc | |
parent | 9d7ce4e3d083c673de9a384f3ed6c7f741f38f7d (diff) | |
download | gemrb-gameinstallers-d400ae382e09b091fb372ffc9163273ff40ddb1d.tar.bz2 gemrb-gameinstallers-d400ae382e09b091fb372ffc9163273ff40ddb1d.zip |
Store MD5 sums as variables, avoid data duplication, increase clarity.
Diffstat (limited to 'totsc')
-rwxr-xr-x | totsc/auto-totsc-installer.sh | 2 | ||||
-rwxr-xr-x | totsc/install-1cd-uk.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/totsc/auto-totsc-installer.sh b/totsc/auto-totsc-installer.sh index f82114a..d485e5a 100755 --- a/totsc/auto-totsc-installer.sh +++ b/totsc/auto-totsc-installer.sh @@ -11,7 +11,7 @@ echo "Checking CD version" CDMD5=$(md5sum $CDMOUNT/data1.cab|awk '{print $1}') case "$CDMD5" in - "e27d259ddc0171ff945dbba136e60309" ) + $BG1_TOTSC_1CD_UK_MD5 ) FULLGAMENAME="Baldurs Gate Tales of the Sword Coast: 1CD UK version" INSTALLSCRIPT=./install-totsc-1cd-uk.sh OFFICIALPATCH=./install-totsc-patch-uk.sh diff --git a/totsc/install-1cd-uk.sh b/totsc/install-1cd-uk.sh index d1d2ccb..7330f43 100755 --- a/totsc/install-1cd-uk.sh +++ b/totsc/install-1cd-uk.sh @@ -9,7 +9,7 @@ parseargs "$@" checkforbin unshield -getcd 1 e27d259ddc0171ff945dbba136e60309 data1.cab +getcd 1 $BG1_TOTSC_1CD_UK_MD5 data1.cab mkdir -p "$TARGETDIR" || die |