diff options
Diffstat (limited to 'pst/install-patch-official.sh')
-rwxr-xr-x | pst/install-patch-official.sh | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/pst/install-patch-official.sh b/pst/install-patch-official.sh index 485fad1..5a9b200 100755 --- a/pst/install-patch-official.sh +++ b/pst/install-patch-official.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 <http://www.gnu.org/licenses/> for a copy of the GNU General +# Public License. +# # Planescape: Torment official patch scriptdir="$(dirname $0)"/.. @@ -13,10 +28,10 @@ setuptmp getpatch http://www.sorcerers.net/Games2/Torment/Trmt11.exe -cabextract -L $TMPDIR/Trmt11.exe -d $TMPDIR || die -unshield -L x $TMPDIR/data1.cab -d $TMPDIR || die +cabextract -L $TMPDIR/Trmt11.exe -d $TMPDIR || diesoftly +unshield -L x $TMPDIR/data1.cab -d $TMPDIR || diesoftly -cp -R $TMPDIR/program_executable_files/* "$TARGETDIR" || die +cp -R $TMPDIR/program_executable_files/* "$TARGETDIR" || diesoftly cleanuptmp setperms "$TARGETDIR" |