summaryrefslogtreecommitdiff
path: root/auto-installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auto-installer.sh')
-rwxr-xr-xauto-installer.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/auto-installer.sh b/auto-installer.sh
index d79f8af..4295230 100755
--- a/auto-installer.sh
+++ b/auto-installer.sh
@@ -68,6 +68,9 @@ case "$CDMD5" in
;;
esac
+[ -z "$TARGETDIR" ] && [ -n "$SHORTGAMENAME" ] && export TARGETDIR="$PWD/$SHORTGAMENAME"
+[ -z "$TARGETDIR" ] && diequietly
+
echo "$FULLGAMENAME detected, installing"
$MINSCRIPT -i "$TARGETDIR" -c "$CDMOUNT" 1>/dev/null || diequietly