summaryrefslogtreecommitdiff
path: root/pst
diff options
context:
space:
mode:
authorNickDaly <myownlittlworld@hotmail.com>2009-06-06 18:01:39 -0500
committerNickDaly <myownlittlworld@hotmail.com>2009-06-06 18:01:39 -0500
commit53b5dbf87938455048f2c87661a69af77e0232bb (patch)
tree8f93ba117a5983e52d70ad11e541a61c5e8c8b46 /pst
parent06444abc5be2e72b2a52f114f942b9da9f9fc9b1 (diff)
downloadgemrb-gameinstallers-53b5dbf87938455048f2c87661a69af77e0232bb.tar.bz2
gemrb-gameinstallers-53b5dbf87938455048f2c87661a69af77e0232bb.zip
Created and integrated teardown method.
Now if only I could create a setup method...
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"