]> skyeroc.xyz Git - dgamelaunch/commitdiff
minor changes to install script
authorsbkelley <sb24kelley@gmail.com>
Sat, 23 May 2026 15:22:01 +0000 (11:22 -0400)
committersbkelley <sb24kelley@gmail.com>
Mon, 1 Jun 2026 20:43:59 +0000 (16:43 -0400)
(cherry picked from commit 2676d6aebfca6edfc15dbc6b2160a9108874b9a9)

install-dgl-nh500

index 16e5e340433b2427b2d07e1342e9241e2a6e1b1e..ec5b34be25d74f0c47f70978c4190d0e9798936b 100644 (file)
@@ -56,12 +56,6 @@ CHROOT="/opt/dgamelaunch"
 #
 # Each directory is within the chroot!
 #
-# In practice, I haven't figured out what breaks -- I suspect something to do
-# with the database -- but they must just be left alone.
-#
-#DGLVAR="/dgldir"
-#DGLETC="/."
-#MENUDIR="$DGLETC"
 DGLVAR="/var"
 DGLETC="/etc"
 MENUDIR="$DGLETC/menu"
@@ -87,6 +81,19 @@ GREPBIN="/bin/grep"
 WORKDIR="`pwd`"
 NETHACKBIN="$HACKDIR/nethack"
 
+# Here are some settings which would cause nethack and dgl to be installed
+# in a way that reflects the setup instructions provided by Paxed...
+# for posterity mostly. If you uncomment these, you will have to also modify
+# some of the patch files, and dgamelaunch.conf.
+#
+#CHROOT="/opt/nethack/nethack.alt.org"
+#DGLVAR="/dgldir"
+#DGLETC="/."
+#MENUDIR="$DGLETC"
+#HACKDIR="/nh500"
+#PLAYGROUND="/nh500/var"
+
+
 ################
 # Some functions
 errorexit() {
@@ -138,7 +145,6 @@ DGLVAR=`standdir $DGLVAR`
 DGLETC=`standdir $DGLETC`
 MENUDIR=`standdir $MENUDIR`
 SQLITE_DBFILE=`standdir $SQLITE_DBFILE`
-echo "SQLITE_DBFILE: '$SQLITE_DBFILE'"
 HACKDIR=`standdir $HACKDIR`
 PLAYGROUND=`standdir $PLAYGROUND`
 COMPRESSBIN=`standdir $COMPRESSBIN`