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... --- pst/install-2cd-extra.sh | 2 +- pst/install-2cd-minimal.sh | 2 +- pst/install-4cd-extra.sh | 2 +- pst/install-4cd-minimal.sh | 2 +- pst/install-patch-official.sh | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) (limited to 'pst') 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" -- cgit v1.2.3