From dad2f8163435c5b1804147ff37c54799c2c38a14 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 23 Jun 2009 11:51:19 +0100 Subject: Sanitise copying further --- bg1/install-5cd-minimal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bg1/install-5cd-minimal.sh') diff --git a/bg1/install-5cd-minimal.sh b/bg1/install-5cd-minimal.sh index e6be0fa..b4c522d 100755 --- a/bg1/install-5cd-minimal.sh +++ b/bg1/install-5cd-minimal.sh @@ -28,7 +28,7 @@ getcd 1 $BG1_5CD_INTL_MD5 data1.cab mkdir -p "$TARGETDIR" || die -cp "${CDMOUNT}/dialog.tlk" "$TARGETDIR" || die +copylower "${CDMOUNT}/dialog.tlk" "$TARGETDIR" || die unshield -L x "${CDMOUNT}/data1.cab" -d "$TARGETDIR" || die @@ -40,6 +40,6 @@ rm -r "${TARGETDIR}/recommended_music" "${TARGETDIR}/english_sounds" mkdir -p "${TARGETDIR}/movies" -cp "${CDMOUNT}/baldur.ico" "$TARGETDIR" || die +copylower "${CDMOUNT}/baldur.ico" "$TARGETDIR" || die setperms "$TARGETDIR" -- cgit v1.2.3 From feb2cd603ba1ae6e7dc04e17463c87777f882363 Mon Sep 17 00:00:00 2001 From: Tasos Latsas Date: Thu, 18 Jun 2009 15:50:48 +0300 Subject: pass unshield options before extract command --- bg1/install-5cd-minimal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bg1/install-5cd-minimal.sh') diff --git a/bg1/install-5cd-minimal.sh b/bg1/install-5cd-minimal.sh index b4c522d..0e34e33 100755 --- a/bg1/install-5cd-minimal.sh +++ b/bg1/install-5cd-minimal.sh @@ -30,7 +30,7 @@ mkdir -p "$TARGETDIR" || die copylower "${CDMOUNT}/dialog.tlk" "$TARGETDIR" || die -unshield -L x "${CDMOUNT}/data1.cab" -d "$TARGETDIR" || die +unshield -d "$TARGETDIR" -L x "${CDMOUNT}/data1.cab" || die move_and_remove "${TARGETDIR}/minimumdata" "$TARGETDIR" move_and_remove "${TARGETDIR}/english" "$TARGETDIR" -- cgit v1.2.3