summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-08-16 00:14:38 +0100
committerNick White <git@njw.me.uk>2009-08-16 00:14:38 +0100
commit0ebc215ca7ca9840deaf9b650ac58729360a482f (patch)
tree4808d9a638ec2c8a00f520b1ce3c93b79922b9ac
parentf4b77bbe86d5e97e7960d5132d73c15daaffeabf (diff)
downloadgemrb-gameinstallers-0ebc215ca7ca9840deaf9b650ac58729360a482f.tar.bz2
gemrb-gameinstallers-0ebc215ca7ca9840deaf9b650ac58729360a482f.zip
Add game checking to auto installer
Added the actual reference to the game checking function - without it the autoinstall does nothing.
-rwxr-xr-xauto-installer.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto-installer.sh b/auto-installer.sh
index 3654263..50da5fc 100755
--- a/auto-installer.sh
+++ b/auto-installer.sh
@@ -37,6 +37,8 @@ echo "Checking CD version"
export CDMD5=$(md5sum "${CDMOUNT}/data1.cab"|awk '{print $1}')
+get_game
+
[ -z "$TARGETDIR" ] && [ -n "$SHORTGAMENAME" ] && export TARGETDIR="$PWD/$SHORTGAMENAME"
[ -z "$TARGETDIR" ] && diequietly