From 520746058d336ffec5a2acdcb757a1d143457b6a Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 1 Jun 2009 23:42:06 +0100 Subject: Use move_and_remove everywhere And ensure parent directories are removed, where appropriate --- pst/install-2cd-minimal.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pst/install-2cd-minimal.sh') 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 -- cgit v1.2.3