summaryrefslogtreecommitdiff
path: root/pst
diff options
context:
space:
mode:
Diffstat (limited to 'pst')
-rwxr-xr-xpst/install-2cd-minimal.sh3
-rwxr-xr-xpst/install-4cd-minimal.sh3
2 files changed, 2 insertions, 4 deletions
diff --git a/pst/install-2cd-minimal.sh b/pst/install-2cd-minimal.sh
index 7541216..45493bf 100755
--- a/pst/install-2cd-minimal.sh
+++ b/pst/install-2cd-minimal.sh
@@ -35,8 +35,7 @@ cp "${CDMOUNT}/Manual/Torment.pdf" "${TARGETDIR}/manual.pdf" || die
cp "${CDMOUNT}/Torment.ico" "${TARGETDIR}/torment.ico" || die
cp "${CDMOUNT}/Torment.ex_" "${TARGETDIR}/torment.exe" || die
-mv "${TARGETDIR}/minimumdata/"* "$TARGETDIR" || die
-rmdir "${TARGETDIR}/minimumdata" || die
+move_and_remove "${TARGETDIR}/minimumdata/" "$TARGETDIR"
mkdir -p "${TARGETDIR}/save" || die
diff --git a/pst/install-4cd-minimal.sh b/pst/install-4cd-minimal.sh
index 8ee12dd..1bcb07b 100755
--- a/pst/install-4cd-minimal.sh
+++ b/pst/install-4cd-minimal.sh
@@ -30,8 +30,7 @@ mkdir -p "$TARGETDIR" || die
unshield -L x "${CDMOUNT}/data1.cab" -d "$TARGETDIR" || die
-cp -R "${TARGETDIR}/program_executable_files/"* "$TARGETDIR" || die
-rm -r "${TARGETDIR}/program_executable_files"
+move_and_remove "${TARGETDIR}/program_executable_files/" "$TARGETDIR"
cp "${CDMOUNT}/torment.ico" "$TARGETDIR" || die