tags 682807 + patch thanks Hi,
the attached patch enables a system-wide hall of fame functionality. Thanks Andreas
Enable system-wide hall of fame (Closes: #682807). --- a/debian/rules +++ b/debian/rules @@ -10,10 +10,12 @@ LEVEL_DIR := /usr/share/games/rocksndiamonds +DEB_FIXPERMS_EXCLUDE := /usr/games/rocksndiamonds-bin /var/games/rocksndiamonds + include /usr/share/cdbs/1/rules/debhelper.mk build/rocksndiamonds:: rocksndiamonds.6 - make RO_GAME_DIR=$(LEVEL_DIR) sdl + make RO_GAME_DIR=$(LEVEL_DIR) RW_GAME_DIR=/var/games/rocksndiamonds sdl install/rocksndiamonds:: set -e; \ @@ -25,6 +27,13 @@ mv rocksndiamonds rocksndiamonds-bin install -m 0755 debian/start_binary.sh rocksndiamonds +binary-install/rocksndiamonds:: + # permissions for system-wide hall of fame + chown root:games debian/rocksndiamonds/usr/games/rocksndiamonds-bin + chmod 2755 debian/rocksndiamonds/usr/games/rocksndiamonds-bin + mkdir -p -m 775 debian/rocksndiamonds/var/games/rocksndiamonds + chown root:games debian/rocksndiamonds/var/games/rocksndiamonds + rocksndiamonds.6: rocksndiamonds.1 sed 's/^\.TH ROCKSNDIAMONDS 1L/.TH ROCKSNDIAMONDS 6/' $< > $@ --- a/debian/rocksndiamonds.lintian-overrides +++ b/debian/rocksndiamonds.lintian-overrides @@ -0,0 +1 @@ +rocksndiamonds: non-standard-dir-perm var/games/rocksndiamonds/ 0775 != 0755