various fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@300 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
cabad714b5
commit
9f4e5c65c7
|
@ -1,3 +1,7 @@
|
||||||
|
1.4.6 (????/??/??)
|
||||||
|
* Fix some signed/unsigned warnings.
|
||||||
|
* Fix make install check for PREFIX -> $(PREFIX).
|
||||||
|
|
||||||
1.4.5 (2004/06/14)
|
1.4.5 (2004/06/14)
|
||||||
* Reset offset if necessary to show at least one game to avoid things
|
* Reset offset if necessary to show at least one game to avoid things
|
||||||
like "(15-14 of 14)".
|
like "(15-14 of 14)".
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ NAME = dgamelaunch
|
||||||
exclusions = CVS .svn .cvsignore tags
|
exclusions = CVS .svn .cvsignore tags
|
||||||
PREFIX = /usr
|
PREFIX = /usr
|
||||||
SBINDIR = $(PREFIX)/sbin
|
SBINDIR = $(PREFIX)/sbin
|
||||||
ifeq (PREFIX,/usr)
|
ifeq ($(PREFIX),/usr)
|
||||||
MANDIR = $(PREFIX)/share/man
|
MANDIR = $(PREFIX)/share/man
|
||||||
else
|
else
|
||||||
MANDIR = $(PREFIX)/man
|
MANDIR = $(PREFIX)/man
|
||||||
|
|
|
@ -236,7 +236,7 @@ create_config ()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* Fill the rest with defaults */
|
/* Fill the rest with defaults */
|
||||||
if (!myconfig->shed_user && myconfig->shed_uid == -1)
|
if (!myconfig->shed_user && myconfig->shed_uid == (uid_t)-1)
|
||||||
{
|
{
|
||||||
struct passwd *pw;
|
struct passwd *pw;
|
||||||
if ((pw = getpwnam(defconfig.shed_user)))
|
if ((pw = getpwnam(defconfig.shed_user)))
|
||||||
|
@ -245,7 +245,7 @@ create_config ()
|
||||||
myconfig->shed_uid = defconfig.shed_uid;
|
myconfig->shed_uid = defconfig.shed_uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!myconfig->shed_group && myconfig->shed_gid == -1)
|
if (!myconfig->shed_group && myconfig->shed_gid == (gid_t)-1)
|
||||||
{
|
{
|
||||||
struct group *gr;
|
struct group *gr;
|
||||||
if ((gr = getgrnam(defconfig.shed_group)))
|
if ((gr = getgrnam(defconfig.shed_group)))
|
||||||
|
|
|
@ -96,7 +96,7 @@ fi
|
||||||
|
|
||||||
# ...and all the data it needs
|
# ...and all the data it needs
|
||||||
if [ -n "$playground_var" ]; then
|
if [ -n "$playground_var" ]; then
|
||||||
mkdir -p $chroot_path$playground_var/save
|
mkdir -p $chroot_path$playground_var/save $chroot_path$playground_var/dumps
|
||||||
touch $chroot_path$playground_var/record
|
touch $chroot_path$playground_var/record
|
||||||
touch $chroot_path$playground_var/perm
|
touch $chroot_path$playground_var/perm
|
||||||
touch $chroot_path$playground_var/logfile
|
touch $chroot_path$playground_var/logfile
|
||||||
|
|
Loading…
Reference in New Issue