summaryrefslogtreecommitdiff
path: root/pst
diff options
context:
space:
mode:
Diffstat (limited to 'pst')
-rwxr-xr-xpst/install-2cd-extra.sh6
-rwxr-xr-xpst/install-2cd-minimal.sh2
-rwxr-xr-xpst/install-4cd-extra.sh10
-rwxr-xr-xpst/install-4cd-minimal.sh2
4 files changed, 13 insertions, 7 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
diff --git a/pst/install-2cd-minimal.sh b/pst/install-2cd-minimal.sh
index d868b90..fc5dc4a 100755
--- a/pst/install-2cd-minimal.sh
+++ b/pst/install-2cd-minimal.sh
@@ -11,7 +11,7 @@ parseargs "$@"
checkforbin unshield
-getcd 1 640b61443cc86c434f1b6826e63c0e33 data1.cab
+getcd 1 $PST_2CD_MD5 data1.cab
mkdir -p "$TARGETDIR" || die
diff --git a/pst/install-4cd-extra.sh b/pst/install-4cd-extra.sh
index 064edb4..23dee20 100755
--- a/pst/install-4cd-extra.sh
+++ b/pst/install-4cd-extra.sh
@@ -9,13 +9,17 @@ parseargs "$@"
checkforbin unshield
-getcd 2 99be7c8544016302c820088091c52fef cd2/movies2.bif
+CD2="99be7c8544016302c820088091c52fef"
+CD3="6ffd2c51a41603c7dca6196d9bef2e26"
+CD4="b70322aaa7b1d61a168a766eba399085"
+
+getcd 2 $CD2 cd2/movies2.bif
copylower "$CDMOUNT/cd2/" "$TARGETDIR" || die
-getcd 3 6ffd2c51a41603c7dca6196d9bef2e26 cd3/AR0500.bif
+getcd 3 $CD3 cd3/AR0500.bif
copylower "$CDMOUNT/cd3/" "$TARGETDIR" || die
-getcd 4 b70322aaa7b1d61a168a766eba399085 cd4/movies4.bif
+getcd 4 $CD4 cd4/movies4.bif
copylower "$CDMOUNT/cd4/" "$TARGETDIR" || die
setperms "$TARGETDIR"
diff --git a/pst/install-4cd-minimal.sh b/pst/install-4cd-minimal.sh
index 5ffb88b..0401e32 100755
--- a/pst/install-4cd-minimal.sh
+++ b/pst/install-4cd-minimal.sh
@@ -11,7 +11,7 @@ parseargs "$@"
checkforbin unshield
-getcd 1 5e8c2075163aca124de4a467fb33063d data1.cab
+getcd 1 $PST_4CD_MD5 data1.cab
mkdir -p "$TARGETDIR" || die