diff options
Diffstat (limited to 'bg1/install-patch-baldurdash-fix.sh')
-rwxr-xr-x | bg1/install-patch-baldurdash-fix.sh | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/bg1/install-patch-baldurdash-fix.sh b/bg1/install-patch-baldurdash-fix.sh index a4c2122..90b629b 100755 --- a/bg1/install-patch-baldurdash-fix.sh +++ b/bg1/install-patch-baldurdash-fix.sh @@ -14,7 +14,14 @@ # See <http://www.gnu.org/licenses/> for a copy of the GNU General # Public License. # -# BG1/TOTSC Baldurdash fix pack +# BG1/TOTSC Baldurdash fix pack v1.1 +# +# info : http://www.baldurdash.org/BG1/bg1fixes.html +# size : 0.1 MB +# date : 7/07/01 + +patch_url="http://www.baldurdash.org/LargeDownloads/BG1FixPack11.exe" +patch_name="$(basename $patch_url)" scriptdir="$(dirname $0)"/.. source "${scriptdir}/includes/generic-includes.sh" @@ -26,12 +33,12 @@ checkforbin unzip wget setuptmp -getpatch http://www.baldurdash.org/LargeDownloads/BG1FixPack11.exe +getpatch $patch_url # unzip complains unnecessarily about skipping non-zip # part so don't print errors or die on failure -unzip -L "${TMPDIR}/BG1FixPack11.exe" -d "$TMPDIR" 2>/dev/null -rm "${TMPDIR}/BG1FixPack11.exe" "${TMPDIR}/bg1fixpack11readme.txt" +unzip -L "${TMPDIR}/${patch_name}" -d "$TMPDIR" 2>/dev/null +rm "${TMPDIR}/${patch_name}" "${TMPDIR}/bg1fixpack11readme.txt" cp "${TMPDIR}/"* "${TARGETDIR}/override/" || diesoftly cleanuptmp |