summaryrefslogtreecommitdiff
path: root/iwd
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 /iwd
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 'iwd')
-rwxr-xr-xiwd/install-2cd-uk-extra.sh2
-rwxr-xr-xiwd/install-2cd-uk-minimal.sh2
-rwxr-xr-xiwd/install-patch-uk-fix.sh3
-rwxr-xr-xiwd/install-patch-us.sh3
4 files changed, 4 insertions, 6 deletions
diff --git a/iwd/install-2cd-uk-extra.sh b/iwd/install-2cd-uk-extra.sh
index 22ee2dd..bd2376e 100755
--- a/iwd/install-2cd-uk-extra.sh
+++ b/iwd/install-2cd-uk-extra.sh
@@ -28,4 +28,4 @@ getcd 2 $CD2 AUTORUN.DAT
copylower "${CDMOUNT}/CD2/DATA/" "${TARGETDIR}/data" || die
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"
diff --git a/iwd/install-2cd-uk-minimal.sh b/iwd/install-2cd-uk-minimal.sh
index dd1c80a..eac533e 100755
--- a/iwd/install-2cd-uk-minimal.sh
+++ b/iwd/install-2cd-uk-minimal.sh
@@ -38,4 +38,4 @@ rm -r "${TARGETDIR}/register"
copylower "${CDMOUNT}/Data" "${TARGETDIR}/data" || die
copylower "${CDMOUNT}/ICEWIND.ICO" "$TARGETDIR" || die
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"
diff --git a/iwd/install-patch-uk-fix.sh b/iwd/install-patch-uk-fix.sh
index 63fc051..f137a92 100755
--- a/iwd/install-patch-uk-fix.sh
+++ b/iwd/install-patch-uk-fix.sh
@@ -39,5 +39,4 @@ getpatch $patch_url
cabextract -L -s "${TMPDIR}/${patch_name}" -d "$TMPDIR" || diesoftly
cp -R "${TMPDIR}/override/"* "${TARGETDIR}/override" || diesoftly
-cleanuptmp
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"
diff --git a/iwd/install-patch-us.sh b/iwd/install-patch-us.sh
index d636baa..625c023 100755
--- a/iwd/install-patch-us.sh
+++ b/iwd/install-patch-us.sh
@@ -39,5 +39,4 @@ cabextract -L -s "${TMPDIR}/${patch_name}" -d "$TMPDIR" || diesoftly
cp -R "${TMPDIR}/override/"* "${TARGETDIR}/override" || diesoftly
cp -R "${TMPDIR}/scripts/"* "${TARGETDIR}/scripts" || diesoftly
-cleanuptmp
-setperms "$TARGETDIR"
+teardown "$TARGETDIR"