From ec93f454769503b35219ee91f9e7e044eff0bf03 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 25 Oct 2003 22:23:58 +0000 Subject: [PATCH] * 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 --- atc/atc.6.in | 4 ++++ debian/postinst | 4 ++-- debian/preinst | 2 +- debian/rules | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/atc/atc.6.in b/atc/atc.6.in index c3b2b83..ceeff64 100644 --- a/atc/atc.6.in +++ b/atc/atc.6.in @@ -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. .It 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 .Sh NEW GAMES The diff --git a/debian/postinst b/debian/postinst index eed5d95..f03764e 100644 --- a/debian/postinst +++ b/debian/postinst @@ -46,7 +46,7 @@ if [ ! -e /var/games/bsdgames/phantasia/monsters ] ; then fi touch $SCOREFILES -chown root.games $SCOREFILES +chown root:games $SCOREFILES chmod 664 $SCOREFILES # 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 # always deleted it in their postrm. Oops. 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 #DEBHELPER# diff --git a/debian/preinst b/debian/preinst index 389f480..a7b3c38 100644 --- a/debian/preinst +++ b/debian/preinst @@ -25,7 +25,7 @@ if [ -d /var/lib/games ]; then # Have to set up directory hierarchy, since this is running as a # preinst. mkdir -p /var/games/bsdgames/phantasia - chown root.games /var/games/bsdgames \ + chown root:games /var/games/bsdgames \ /var/games/bsdgames/phantasia chmod g+rws /var/games/bsdgames \ /var/games/bsdgames/phantasia diff --git a/debian/rules b/debian/rules index d5106bd..382685f 100755 --- a/debian/rules +++ b/debian/rules @@ -63,7 +63,7 @@ binary-arch: build chmod -R u+rw debian/bsdgames/usr/ # 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/canfield \ debian/bsdgames/usr/games/cribbage \ @@ -85,7 +85,7 @@ binary-arch: build debian/bsdgames/usr/games/hack # The game directories need to be sgid too, and let's # 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/phantasia \ debian/bsdgames/var/games/bsdgames/hack \