summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/autoinstall-includes.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/autoinstall-includes.sh b/includes/autoinstall-includes.sh
index fe503a0..cff3499 100644
--- a/includes/autoinstall-includes.sh
+++ b/includes/autoinstall-includes.sh
@@ -107,6 +107,9 @@ function recommendcfg
STARTCD=1
fi
+ gemrbDir="~/.gemrb"
+ installRegistry="${gemrbDir}/installations.ini"
+
displayText="To play the game with GemRB, you will need to add the following\n"
displayText=${displayText}"lines to your GemRB.cfg file:\n"
@@ -137,4 +140,9 @@ function recommendcfg
else
echo -e "$displayText"
fi
+
+ # record the installation in the installation registry.
+ mkdir "$gemrbDir"
+ touch "$installRegistry"
+ echo "$TARGETDIR" >> "$installRegistry"
}