[gnome-games] swell-foop: Install score file with correct permissions



commit 12f2336a8fd2c75854daa8aa89a2d197839a654b
Author: Michael Biebl <biebl debian org>
Date:   Tue May 22 10:38:35 2012 +1200

    swell-foop: Install score file with correct permissions

 swell-foop/src/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/swell-foop/src/Makefile.am b/swell-foop/src/Makefile.am
index fc6890d..a6d6f2a 100644
--- a/swell-foop/src/Makefile.am
+++ b/swell-foop/src/Makefile.am
@@ -32,4 +32,9 @@ swell_foop_LDADD =	\
 	$(CLUTTER_GTK_LIBS)	\
 	$(INTLLIBS)
 
+install-exec-hook:
+	-if test "$(setgid)" = "true"; then \
+	  chgrp $(scores_group) $(DESTDIR)$(bindir)/swell-foop && chmod 2555 $(DESTDIR)$(bindir)/swell-foop ;\
+	fi
+
 -include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]