summaryrefslogtreecommitdiff
path: root/pst/install-2cd-extra.sh
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 /pst/install-2cd-extra.sh
parent9d7ce4e3d083c673de9a384f3ed6c7f741f38f7d (diff)
downloadgemrb-gameinstallers-d400ae382e09b091fb372ffc9163273ff40ddb1d.tar.bz2
gemrb-gameinstallers-d400ae382e09b091fb372ffc9163273ff40ddb1d.zip
Store MD5 sums as variables, avoid data duplication, increase clarity.
Diffstat (limited to 'pst/install-2cd-extra.sh')
-rwxr-xr-xpst/install-2cd-extra.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/pst/install-2cd-extra.sh b/pst/install-2cd-extra.sh
index 6901c10..c8f3d36 100755
--- a/pst/install-2cd-extra.sh
+++ b/pst/install-2cd-extra.sh
@@ -9,7 +9,9 @@ parseargs "$@"
checkforbin unshield
-getcd 1 640b61443cc86c434f1b6826e63c0e33 data1.cab
+CD2="610d9f6354be741b09fc25b5e9645328"
+
+getcd 1 $PST_2CD_MD5 data1.cab
unshield -g OtherData -L x $CDMOUNT/data1.cab -d "$TARGETDIR" || die
unshield -g OtherData -L x $CDMOUNT/data2.cab -d "$TARGETDIR" || die
@@ -17,7 +19,7 @@ unshield -g OtherData -L x $CDMOUNT/data2.cab -d "$TARGETDIR" || die
mv "$TARGETDIR"/otherdata/* "$TARGETDIR" || die
rmdir "$TARGETDIR"/otherdata || die
-getcd 2 610d9f6354be741b09fc25b5e9645328 cd2/movies4.bif
+getcd 2 $CD2 cd2/movies4.bif
copylower "$CDMOUNT/cd2/" "$TARGETDIR" || die