From be2066c426699d84ce2b40749df6d218ee90f81f Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 15 Apr 2009 15:35:59 +0100 Subject: Added license notice to all files --- bg1/install-patch-intl.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'bg1/install-patch-intl.sh') diff --git a/bg1/install-patch-intl.sh b/bg1/install-patch-intl.sh index 5126ec7..2c0aceb 100755 --- a/bg1/install-patch-intl.sh +++ b/bg1/install-patch-intl.sh @@ -1,4 +1,19 @@ #!/bin/bash +# Copyright 2009 Nick White +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# See for a copy of the GNU General +# Public License. +# # BG1 official international patch scriptdir="$(dirname $0)"/.. -- cgit v1.2.3 From 3603dfcb5d12e19b75dccbc2a621adb83fd7adea Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 17 Apr 2009 17:10:07 +0100 Subject: Move overridden die for patch to new general function: diesoftly --- bg1/install-patch-intl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bg1/install-patch-intl.sh') diff --git a/bg1/install-patch-intl.sh b/bg1/install-patch-intl.sh index 2c0aceb..2acb59e 100755 --- a/bg1/install-patch-intl.sh +++ b/bg1/install-patch-intl.sh @@ -28,11 +28,11 @@ setuptmp getpatch http://downloads.bioware.com/baldursgate1/bgintl114315.exe -unzip $TMPDIR/bgintl114315.exe -d $TMPDIR || die -unshield -g "$LANGUAGE" -L x $TMPDIR/data1.cab -d $TMPDIR || die +unzip $TMPDIR/bgintl114315.exe -d $TMPDIR || diesoftly +unshield -g "$LANGUAGE" -L x $TMPDIR/data1.cab -d $TMPDIR || diesoftly LANGUAGE="$(echo $LANGUAGE|tr A-Z a-z|tr ' ' _)" # alter formatting -cp -R $TMPDIR/"$LANGUAGE"/* "$TARGETDIR" || die +cp -R $TMPDIR/"$LANGUAGE"/* "$TARGETDIR" || diesoftly cleanuptmp setperms "$TARGETDIR" -- cgit v1.2.3