[BACK]Return to dgl-create-chroot CVS log [TXT][DIR] Up to [contributed] / dgamelaunch-openbsd

Diff for /dgamelaunch-openbsd/dgl-create-chroot between version 1.8 and 1.9

version 1.8, 2021/04/02 10:12:01 version 1.9, 2021/04/02 11:51:07
Line 29  SQLITE_DBFILE="/dgldir/dgamelaunch.db"
Line 29  SQLITE_DBFILE="/dgldir/dgamelaunch.db"
   
 # only define this is dgl was configured without --enable-sqlite  # only define this is dgl was configured without --enable-sqlite
 #PASSWD_FILE="/dgldir/dgl-login"  #PASSWD_FILE="/dgldir/dgl-login"
   #LOCK-FILE="/dgldir/dgl-lock"
   
 # only define this is dgl was configured without --enable-debugfile  # only define this is dgl was configured without --enable-debugfile
 #DEBUGFILE="/dgldebug.log"  #DEBUGFILE="/dgldebug.log"
Line 120  if [ -n "$SQLITE_DBFILE" ]; then
Line 121  if [ -n "$SQLITE_DBFILE" ]; then
   fi    fi
 fi  fi
   
 if [ -n "PASSWD_FILE" ]; then  if [ -n "$PASSWD_FILE" ]; then
       echo "Creating password file at $PASSWD_FILE"        echo "Creating password file at $PASSWD_FILE"
       touch "$CHROOT/$PASSWD_FILE"        touch "$CHROOT/$PASSWD_FILE"
       chown "$USRGRP" "$CHROOT/$PASSWD_FILE"        chown "$USRGRP" "$CHROOT/$PASSWD_FILE"
       chmod 0700 "$CHROOT/$PASSWD_FILE"        chmod 0700 "$CHROOT/$PASSWD_FILE"
 fi  fi
   
 if [ -n "DEBUGFILE" ]; then  if [ -n "$LOCK_FILE" ]; then
         echo "Creating lockfile at $LOCK_FILE"
         touch "$CHROOT/$LOCK_FILE"
         chown "$USRGRP" "$CHROOT/$LOCK_FILE"
         chmod 0700 "$CHROOT/$LOCK_FILE"
   fi
   
   if [ -n "$DEBUGFILE" ]; then
       echo "Creating debugfile at $DEBUGFILE"        echo "Creating debugfile at $DEBUGFILE"
       touch "$CHROOT/$DEBUGFILE"        touch "$CHROOT/$DEBUGFILE"
       chown "$USRGRP" "$CHROOT/$DEBUGFILE"        chown "$USRGRP" "$CHROOT/$DEBUGFILE"

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb