* Update for POSIX chown. Closes: #214043

* atc: Note in man page that pressing return will do an immediate update.
     Closes: #216980


git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5214 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2003-10-25 22:23:58 +00:00
parent 1ace609136
commit ec93f45476
4 changed files with 9 additions and 5 deletions

View File

@@ -384,6 +384,10 @@ Planes enter at 7000 feet and leave at 9000 feet.
Planes flying at an altitude of 0 crash if they are not over an airport. Planes flying at an altitude of 0 crash if they are not over an airport.
.It .It
Planes waiting at airports can only be told to take off (climb in altitude). Planes waiting at airports can only be told to take off (climb in altitude).
.It
Pressing return (that is, entering an empty command) will perform the
next update immediately. This allows you to ``fast forward''
the game clock if nothing interesting is happening.
.El .El
.Sh NEW GAMES .Sh NEW GAMES
The The

4
debian/postinst vendored
View File

@@ -46,7 +46,7 @@ if [ ! -e /var/games/bsdgames/phantasia/monsters ] ; then
fi fi
touch $SCOREFILES touch $SCOREFILES
chown root.games $SCOREFILES chown root:games $SCOREFILES
chmod 664 $SCOREFILES chmod 664 $SCOREFILES
# These files may not be world-readable as they have passwords # These files may not be world-readable as they have passwords
@@ -56,7 +56,7 @@ chmod 660 /var/games/bsdgames/phantasia/characs
# I have to make this directory here, because older version of this package # I have to make this directory here, because older version of this package
# always deleted it in their postrm. Oops. # always deleted it in their postrm. Oops.
mkdir -p /var/games/bsdgames/sail mkdir -p /var/games/bsdgames/sail
chown root.games /var/games/bsdgames/sail chown root:games /var/games/bsdgames/sail
chmod g+rws /var/games/bsdgames/sail chmod g+rws /var/games/bsdgames/sail
#DEBHELPER# #DEBHELPER#

2
debian/preinst vendored
View File

@@ -25,7 +25,7 @@ if [ -d /var/lib/games ]; then
# Have to set up directory hierarchy, since this is running as a # Have to set up directory hierarchy, since this is running as a
# preinst. # preinst.
mkdir -p /var/games/bsdgames/phantasia mkdir -p /var/games/bsdgames/phantasia
chown root.games /var/games/bsdgames \ chown root:games /var/games/bsdgames \
/var/games/bsdgames/phantasia /var/games/bsdgames/phantasia
chmod g+rws /var/games/bsdgames \ chmod g+rws /var/games/bsdgames \
/var/games/bsdgames/phantasia /var/games/bsdgames/phantasia

4
debian/rules vendored
View File

@@ -63,7 +63,7 @@ binary-arch: build
chmod -R u+rw debian/bsdgames/usr/ chmod -R u+rw debian/bsdgames/usr/
# Games with score files need to be set up sgid games. # Games with score files need to be set up sgid games.
chown root.games debian/bsdgames/usr/games/atc \ chown root:games debian/bsdgames/usr/games/atc \
debian/bsdgames/usr/games/battlestar \ debian/bsdgames/usr/games/battlestar \
debian/bsdgames/usr/games/canfield \ debian/bsdgames/usr/games/canfield \
debian/bsdgames/usr/games/cribbage \ debian/bsdgames/usr/games/cribbage \
@@ -85,7 +85,7 @@ binary-arch: build
debian/bsdgames/usr/games/hack debian/bsdgames/usr/games/hack
# The game directories need to be sgid too, and let's # The game directories need to be sgid too, and let's
# remove all the zero byte score files in them. # remove all the zero byte score files in them.
chown root.games debian/bsdgames/var/games/bsdgames/ \ chown root:games debian/bsdgames/var/games/bsdgames/ \
debian/bsdgames/var/games/bsdgames/sail \ debian/bsdgames/var/games/bsdgames/sail \
debian/bsdgames/var/games/bsdgames/phantasia \ debian/bsdgames/var/games/bsdgames/phantasia \
debian/bsdgames/var/games/bsdgames/hack \ debian/bsdgames/var/games/bsdgames/hack \