From 32a0107f411a09c132090623b66e1af7b01b4bc1 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 17 May 2009 12:07:27 +0100 Subject: Normalised script whitespacing --- auto-installer.sh | 88 +++++++++++++++++++++++++++---------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) (limited to 'auto-installer.sh') diff --git a/auto-installer.sh b/auto-installer.sh index 8be47f3..32e4736 100755 --- a/auto-installer.sh +++ b/auto-installer.sh @@ -35,55 +35,55 @@ echo "Checking CD version" CDMD5=$(md5sum $CDMOUNT/data1.cab|awk '{print $1}') while [ -z "$MINSCRIPT" ]; do - case "$CDMD5" in - $BG1_5CD_INTL_MD5 ) - FULLGAMENAME="Baldurs Gate 1: 5CD International version" + case "$CDMD5" in + $BG1_5CD_INTL_MD5 ) + FULLGAMENAME="Baldurs Gate 1: 5CD International version" SHORTGAMENAME="baldursgate1" - MINSCRIPT=bg1/install-5cd-minimal.sh - EXTRASCRIPT=bg1/install-5cd-extra.sh - PATCHES="bg1/install-patch-intl.sh bg1/install-patch-baldurdash-fix.sh bg1/install-patch-baldurdash-text.sh" - WINDOWSFILES="baldur.exe bgmain.exe config.exe keymap.ini luaauto.cfg update.url" - CDNO=5 - ;; - $BG1_TOTSC_3CD_US_MD5 ) - FULLGAMENAME="Baldurs Gate & Tales of the Sword Coast: 3CD US version" + MINSCRIPT=bg1/install-5cd-minimal.sh + EXTRASCRIPT=bg1/install-5cd-extra.sh + PATCHES="bg1/install-patch-intl.sh bg1/install-patch-baldurdash-fix.sh bg1/install-patch-baldurdash-text.sh" + WINDOWSFILES="baldur.exe bgmain.exe config.exe keymap.ini luaauto.cfg update.url" + CDNO=5 + ;; + $BG1_TOTSC_3CD_US_MD5 ) + FULLGAMENAME="Baldurs Gate & Tales of the Sword Coast: 3CD US version" SHORTGAMENAME="baldursgate1totsc" - MINSCRIPT=totsc/install-3cd-minimal.sh - EXTRASCRIPT=totsc/install-3cd-extra.sh - PATCHES="totsc/install-patch-baldurdash-fix.sh totsc/install-patch-baldurdash-text.sh" - WINDOWSFILES="baldur.exe bgmain.exe config.exe keymap.ini luaauto.cfg update.url" - CDNO=3 - ;; - $BG1_TOTSC_1CD_UK_MD5 ) - FULLGAMENAME="Baldurs Gate Tales of the Sword Coast: 1CD UK version" - SHORTGAMENAME="baldursgate1totsc" - MINSCRIPT=totsc/install-1cd-uk.sh - PATCHES="totsc/install-patch-uk.sh totsc/install-patch-baldurdash-fix.sh totsc/install-patch-baldurdash-text.sh" - WINDOWSFILES="bgmain2.exe baldur.exe config.exe mconvert.exe" - ;; - $PST_2CD_MD5 ) - FULLGAMENAME="Planescape Torment: 2CD version" + MINSCRIPT=totsc/install-3cd-minimal.sh + EXTRASCRIPT=totsc/install-3cd-extra.sh + PATCHES="totsc/install-patch-baldurdash-fix.sh totsc/install-patch-baldurdash-text.sh" + WINDOWSFILES="baldur.exe bgmain.exe config.exe keymap.ini luaauto.cfg update.url" + CDNO=3 + ;; + $BG1_TOTSC_1CD_UK_MD5 ) + FULLGAMENAME="Baldurs Gate Tales of the Sword Coast: 1CD UK version" + SHORTGAMENAME="baldursgate1totsc" + MINSCRIPT=totsc/install-1cd-uk.sh + PATCHES="totsc/install-patch-uk.sh totsc/install-patch-baldurdash-fix.sh totsc/install-patch-baldurdash-text.sh" + WINDOWSFILES="bgmain2.exe baldur.exe config.exe mconvert.exe" + ;; + $PST_2CD_MD5 ) + FULLGAMENAME="Planescape Torment: 2CD version" SHORTGAMENAME="planescapetorment" - MINSCRIPT=pst/install-2cd-minimal.sh - EXTRASCRIPT=pst/install-2cd-extra.sh - PATCHES="pst/install-patch-fixpack.sh pst/install-patch-ub.sh pst/install-patch-tweaks.sh" - WINDOWSFILES="torment.exe ereg" - CDNO=2 - ;; - $PST_4CD_MD5 ) - FULLGAMENAME="Planescape Torment: 4CD version" + MINSCRIPT=pst/install-2cd-minimal.sh + EXTRASCRIPT=pst/install-2cd-extra.sh + PATCHES="pst/install-patch-fixpack.sh pst/install-patch-ub.sh pst/install-patch-tweaks.sh" + WINDOWSFILES="torment.exe ereg" + CDNO=2 + ;; + $PST_4CD_MD5 ) + FULLGAMENAME="Planescape Torment: 4CD version" SHORTGAMENAME="planescapetorment" - MINSCRIPT=pst/install-4cd-minimal.sh - EXTRASCRIPT=pst/install-4cd-extra.sh - PATCHES="pst/install-patch-official.sh pst/install-patch-fixpack.sh pst/install-patch-ub.sh pst/install-patch-tweaks.sh" - WINDOWSFILES="torment.exe ereg" - CDNO=4 - ;; - * ) - echo "Unrecognised CD - please select game from menu" + MINSCRIPT=pst/install-4cd-minimal.sh + EXTRASCRIPT=pst/install-4cd-extra.sh + PATCHES="pst/install-patch-official.sh pst/install-patch-fixpack.sh pst/install-patch-ub.sh pst/install-patch-tweaks.sh" + WINDOWSFILES="torment.exe ereg" + CDNO=4 + ;; + * ) + echo "Unrecognised CD - please select game from menu" choosegame - ;; - esac + ;; + esac done [ -z "$TARGETDIR" ] && [ -n "$SHORTGAMENAME" ] && export TARGETDIR="$PWD/$SHORTGAMENAME" -- cgit v1.2.3