mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
* 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:
4
debian/postinst
vendored
4
debian/postinst
vendored
@@ -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#
|
||||
|
||||
2
debian/preinst
vendored
2
debian/preinst
vendored
@@ -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
|
||||
|
||||
4
debian/rules
vendored
4
debian/rules
vendored
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user