From 0ebc215ca7ca9840deaf9b650ac58729360a482f Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 16 Aug 2009 00:14:38 +0100 Subject: Add game checking to auto installer Added the actual reference to the game checking function - without it the autoinstall does nothing. --- auto-installer.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3