[SCM] Packaging of kobodeluxe branch, master, updated. debian/0.5.1-2-19-g8acc7f1

Damyan Ivanov dmn at debian.org
Wed Jun 25 12:12:10 UTC 2008


The following commit has been merged in the master branch:
commit 942aabfa5b11a9fe7320bcc09ce91cd36de6df7d
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed Jun 25 14:33:45 2008 +0300

    fix lost sgid on kobodl and group ownership on scores directory

diff --git a/debian/rules b/debian/rules
index 03c016a..8bda90a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ SCORES	= var/games/kobo-deluxe/scores
 PACKAGE	= $(firstword $(shell dh_listpackages))
 DATAPKG	= $(PACKAGE)-data
 TMP	= $(CURDIR)/debian/tmp
+PKGDIR	= $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
@@ -31,10 +32,10 @@ install-stamp:
 		$(TMP)/usr/share/kobo-deluxe/scores
 	dh_install -p $(PACKAGE) debian/kobo-icon.xpm usr/share/pixmaps/
 	dh install --after auto_install --until fixperms
-	chown root.games $(TMP)/usr/games/kobodl \
-		$(TMP)/$(SCORES)
-	chmod 770 $(TMP)/$(SCORES)
-	chmod g+s $(TMP)/usr/games/kobodl
+	chown root.games $(PKGDIR)/usr/games/kobodl \
+		$(PKGDIR)/$(SCORES)
+	chmod g+s $(PKGDIR)/usr/games/kobodl
+	chmod 2775 $(PKGDIR)/$(SCORES)
 	dh install --after fixperms
 	touch $@
 

-- 
Packaging of kobodeluxe



More information about the Pkg-games-commits mailing list