[mame] 03/04: Fix permissions in mess-data resource files.

Cesare Falco cesarefalco-guest at moszumanska.debian.org
Thu Feb 5 08:50:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

cesarefalco-guest pushed a commit to tag debian/0.158-1
in repository mame.

commit 4d58013c3233c89ec91bff210ee242b6886c94fc
Author: Cesare Falco <c.falco at ubuntu.com>
Date:   Sat Jan 31 21:04:45 2015 +0100

    Fix permissions in mess-data resource files.
---
 debian/mess-data.install | 2 +-
 debian/rules             | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/mess-data.install b/debian/mess-data.install
index e85f1b3..be65ec4 100644
--- a/debian/mess-data.install
+++ b/debian/mess-data.install
@@ -2,4 +2,4 @@ artwork/* usr/share/games/mess/artwork
 ctrlr/* usr/share/games/mess/ctrlr
 hash/* usr/share/games/mess/hash
 keymaps/*LINUX.map usr/share/games/mess/keymaps
-web/* /usr/share/games/mess/web
+web/* usr/share/games/mess/web
diff --git a/debian/rules b/debian/rules
index bfe4dd9..ea0bc1c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -178,6 +178,13 @@ override_dh_install:
                --exclude=dir.txt \
                --exclude=js/jquery*.js
 
+override_dh_fixperms-indep:
+	dh_fixperms
+	chmod 644 debian/mess-data/usr/share/games/mess/artwork/*
+	chmod 644 debian/mess-data/usr/share/games/mess/ctrlr/*
+	chmod 644 debian/mess-data/usr/share/games/mess/hash/*
+	chmod 644 debian/mess-data/usr/share/games/mess/keymaps/*
+
 
 # Retrieve source from svn repo (recommended by upstream developers)
 VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git



More information about the Pkg-games-commits mailing list