tweak some stuff to reflect the new directory organization
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@171 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
a3d6878aac
commit
6d9107f99d
4
Makefile
4
Makefile
|
@ -17,9 +17,9 @@ else
|
|||
endif
|
||||
|
||||
ifeq (1,$(VIRUS))
|
||||
EDITOR = virus.c
|
||||
EDITOR = editors/virus.c
|
||||
else
|
||||
EDITOR = ee.c
|
||||
EDITOR = editors/ee.c
|
||||
endif
|
||||
|
||||
CC = gcc
|
||||
|
|
2
README
2
README
|
@ -49,7 +49,7 @@ variable in include/unixconf.h and/or the HACKDIR variable in include/config.h.
|
|||
need to put gzip in there though if you compile nethack to use it for
|
||||
compression.)
|
||||
|
||||
3) Edit dgamelaunch.conf. This will contain information for dgamelaunch
|
||||
3) Edit etc/dgamelaunch.conf. This will contain information for dgamelaunch
|
||||
about what uid/username, gid/group to shed privileges to at runtime. It
|
||||
must also contain the path to nethack, and needs to know certain aspects
|
||||
of your chroot.
|
||||
|
|
|
@ -26,6 +26,7 @@ playground_var="/var/games/nethack"
|
|||
termdata="/usr/share/terminfo"
|
||||
|
||||
[ -f dgl-create-chroot.conf ] && . ./dgl-create-chroot.conf
|
||||
[ -f etc/dgl-create-chroot.conf ] && . etc/dgl-create-chroot.conf
|
||||
|
||||
findlibs()
|
||||
{
|
||||
|
@ -71,8 +72,8 @@ touch $chroot_path/dgl-login
|
|||
touch $chroot_path/dgl-lock
|
||||
|
||||
# Might want to remove these two for packaging?
|
||||
cp dgl-default-rcfile $chroot_path
|
||||
cp dgl-banner $chroot_path
|
||||
cp etc/dgl-default-rcfile $chroot_path
|
||||
cp etc/dgl-banner $chroot_path
|
||||
|
||||
chown $shed_uid:$shed_gid $chroot_path/dgl-*
|
||||
|
||||
|
|
Loading…
Reference in New Issue