From 53b5dbf87938455048f2c87661a69af77e0232bb Mon Sep 17 00:00:00 2001 From: NickDaly Date: Sat, 6 Jun 2009 18:01:39 -0500 Subject: Created and integrated teardown method. Now if only I could create a setup method... --- iwd/install-2cd-uk-extra.sh | 2 +- iwd/install-2cd-uk-minimal.sh | 2 +- iwd/install-patch-uk-fix.sh | 3 +-- iwd/install-patch-us.sh | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) (limited to 'iwd') 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" -- cgit v1.2.3