summaryrefslogtreecommitdiff
path: root/pst
diff options
context:
space:
mode:
Diffstat (limited to 'pst')
-rwxr-xr-xpst/install-2cd-extra.sh2
-rwxr-xr-xpst/install-2cd-minimal.sh2
-rwxr-xr-xpst/install-4cd-extra.sh2
-rwxr-xr-xpst/install-4cd-minimal.sh2
-rwxr-xr-xpst/install-patch-official.sh3
5 files changed, 5 insertions, 6 deletions
diff --git a/pst/install-2cd-extra.sh b/pst/install-2cd-extra.sh
index 82e9002..75ea9b9 100755
--- a/pst/install-2cd-extra.sh
+++ b/pst/install-2cd-extra.sh
@@ -38,4 +38,4 @@ getcd 2 "$CD2" "cd2/movies4.bif"
copylower "${CDMOUNT}/cd2/" "$TARGETDIR" || die
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"
diff --git a/pst/install-2cd-minimal.sh b/pst/install-2cd-minimal.sh
index 45493bf..8f63edb 100755
--- a/pst/install-2cd-minimal.sh
+++ b/pst/install-2cd-minimal.sh
@@ -39,4 +39,4 @@ move_and_remove "${TARGETDIR}/minimumdata/" "$TARGETDIR"
mkdir -p "${TARGETDIR}/save" || die
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"
diff --git a/pst/install-4cd-extra.sh b/pst/install-4cd-extra.sh
index 1344d65..6db15b5 100755
--- a/pst/install-4cd-extra.sh
+++ b/pst/install-4cd-extra.sh
@@ -37,4 +37,4 @@ copylower "${CDMOUNT}/cd3/" "$TARGETDIR" || die
getcd 4 $CD4 cd4/movies4.bif
copylower "${CDMOUNT}/cd4/" "$TARGETDIR" || die
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"
diff --git a/pst/install-4cd-minimal.sh b/pst/install-4cd-minimal.sh
index 1bcb07b..c8c1991 100755
--- a/pst/install-4cd-minimal.sh
+++ b/pst/install-4cd-minimal.sh
@@ -36,4 +36,4 @@ cp "${CDMOUNT}/torment.ico" "$TARGETDIR" || die
mkdir -p "${TARGETDIR}/save" || die
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"
diff --git a/pst/install-patch-official.sh b/pst/install-patch-official.sh
index b053e37..fc97f79 100755
--- a/pst/install-patch-official.sh
+++ b/pst/install-patch-official.sh
@@ -40,5 +40,4 @@ unshield -L x "${TMPDIR}/data1.cab" -d "$TMPDIR" || diesoftly
cp -R "${TMPDIR}/program_executable_files/"* "$TARGETDIR" || diesoftly
-cleanuptmp
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"