summaryrefslogtreecommitdiff
path: root/totsc
diff options
context:
space:
mode:
authornick <nick@debian.hws.edu>2009-04-21 12:26:30 -0500
committernick <nick@debian.hws.edu>2009-04-21 12:26:30 -0500
commitd400ae382e09b091fb372ffc9163273ff40ddb1d (patch)
treef6ddeee2f984b5c4e0561621de1e722e312b2934 /totsc
parent9d7ce4e3d083c673de9a384f3ed6c7f741f38f7d (diff)
downloadgemrb-gameinstallers-d400ae382e09b091fb372ffc9163273ff40ddb1d.tar.bz2
gemrb-gameinstallers-d400ae382e09b091fb372ffc9163273ff40ddb1d.zip
Store MD5 sums as variables, avoid data duplication, increase clarity.
Diffstat (limited to 'totsc')
-rwxr-xr-xtotsc/auto-totsc-installer.sh2
-rwxr-xr-xtotsc/install-1cd-uk.sh2
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