diff options
author | nick <myownlittlworld@hotmail.com> | 2009-05-02 23:38:54 -0500 |
---|---|---|
committer | nick <myownlittlworld@hotmail.com> | 2009-05-02 23:38:54 -0500 |
commit | e2f6690cc2cf57df3788a20f5be2dfbdf5d660b8 (patch) | |
tree | 023c1f657bd8e76080a1aa232c5e3238fecd1a2c /totsc/auto-totsc-installer.sh | |
parent | d400ae382e09b091fb372ffc9163273ff40ddb1d (diff) | |
parent | 28083ccefa13e4137afb300544072e7e176c7de8 (diff) | |
download | gemrb-gameinstallers-e2f6690cc2cf57df3788a20f5be2dfbdf5d660b8.tar.bz2 gemrb-gameinstallers-e2f6690cc2cf57df3788a20f5be2dfbdf5d660b8.zip |
Merged with latest from upstream.
Diffstat (limited to 'totsc/auto-totsc-installer.sh')
-rwxr-xr-x | totsc/auto-totsc-installer.sh | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/totsc/auto-totsc-installer.sh b/totsc/auto-totsc-installer.sh deleted file mode 100755 index d485e5a..0000000 --- a/totsc/auto-totsc-installer.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -source ../includes/generic-includes.sh -source ../cd-includes.sh -source ../patch-includes.sh -source ../autoinstall-includes.sh - -parseargs "$@" - -echo "Checking CD version" -CDMD5=$(md5sum $CDMOUNT/data1.cab|awk '{print $1}') - -case "$CDMD5" in - $BG1_TOTSC_1CD_UK_MD5 ) - FULLGAMENAME="Baldurs Gate Tales of the Sword Coast: 1CD UK version" - INSTALLSCRIPT=./install-totsc-1cd-uk.sh - OFFICIALPATCH=./install-totsc-patch-uk.sh - ;; - * ) - echo "Unrecognised CD - please select Baldurs Gate version from menu" - # TODO: Add menu to show and select all known BG1 versions - exit 1 - ;; -esac - -echo "$FULLGAMENAME detected, installing" -$INSTALLSCRIPT -i "$TARGETDIR" -c "$CDMOUNT" 1>/dev/null || diequietly -if query "Do you want to install the official patch?" y; then - $OFFICIALPATCH -i "$TARGETDIR" -p "$PATCHDIR" 1>/dev/null || diequietly -fi -if query "Do you want to install the baldurdash fixes?" y; then - ./install-totsc-patch-baldurdash-fix.sh -i "$TARGETDIR" -p "$PATCHDIR" 1>/dev/null || diequietly - if [ "$LANGUAGE" = "English" ]; then - ./install-totsc-patch-baldurdash-text.sh -i "$TARGETDIR" -p "$PATCHDIR" 1>/dev/null || diequietly - fi -fi -if query "Do you want to remove unneeded windows files?" n; then - rm -f "$TARGETDIR"/*.exe - rm -f "$TARGETDIR"/*.url - rm -f "$TARGETDIR"/luaauto.cfg -fi -echo -echo "$FULLGAMENAME installed successfully" |