From 2b5d0fe643cb7abc9a75634d576a6ea19d39ddcf Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 1 Jun 2009 03:18:01 +0100 Subject: Added more info to patches & improved url handling --- bg1/install-patch-totsc-uk.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'bg1/install-patch-totsc-uk.sh') diff --git a/bg1/install-patch-totsc-uk.sh b/bg1/install-patch-totsc-uk.sh index 87c93d7..10fc8f0 100755 --- a/bg1/install-patch-totsc-uk.sh +++ b/bg1/install-patch-totsc-uk.sh @@ -14,7 +14,14 @@ # See for a copy of the GNU General # Public License. # -# BG1 TOTSC official UK patch +# BG1 TOTSC official UK patch v1.3.5512 +# +# info : http://www.planetbaldursgate.com/bg/media/files/patches/TotSC5512Readme.txt +# size : 6.1 MB +# date : 8/3/99 + +patch_url="http://downloads.bioware.com/baldursgate1/BGTalesUK5512.exe" +patch_name="$(basename $patch_url)" scriptdir="$(dirname $0)"/.. source "${scriptdir}/includes/generic-includes.sh" @@ -26,9 +33,9 @@ checkforbin cabextract unshield wget setuptmp -getpatch http://downloads.bioware.com/baldursgate1/BGTalesUK5512.exe +getpatch $patch_url -cabextract -L "${TMPDIR}/BGTalesUK5512.exe" -d "$TMPDIR" || diesoftly +cabextract -L "${TMPDIR}/${patch_name}" -d "$TMPDIR" || diesoftly unshield -L x "${TMPDIR}/data1.cab" -d "$TMPDIR" || diesoftly cp -R "${TMPDIR}/minimumdata/"* "$TARGETDIR" || diesoftly -- cgit v1.2.3