summaryrefslogtreecommitdiff
path: root/iwd
diff options
context:
space:
mode:
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"