rev 15627 - krap/libutempter/trunk/debian

Fathi Boudra fabo at alioth.debian.org
Tue Aug 11 10:38:37 UTC 2009


Author: fabo
Date: 2009-08-11 10:38:37 +0000 (Tue, 11 Aug 2009)
New Revision: 15627

Modified:
   krap/libutempter/trunk/debian/libutempter0.postinst
   krap/libutempter/trunk/debian/rules
Log:
fix perms in the package except utempter ownership (we can't change
ownership to a non-existent group).


Modified: krap/libutempter/trunk/debian/libutempter0.postinst
===================================================================
--- krap/libutempter/trunk/debian/libutempter0.postinst	2009-08-11 10:01:17 UTC (rev 15626)
+++ krap/libutempter/trunk/debian/libutempter0.postinst	2009-08-11 10:38:37 UTC (rev 15627)
@@ -6,10 +6,7 @@
 case "$1" in
     configure)
         grep -q utempter /etc/group || ( echo "Creating utempter group..." ; addgroup --quiet --system utempter)
-        chmod 710 /usr/lib/utempter
         chown root:utempter /usr/lib/utempter
-        chmod 2711 /usr/lib/utempter/utempter
-        chown root:utmp /usr/lib/utempter/utempter
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: krap/libutempter/trunk/debian/rules
===================================================================
--- krap/libutempter/trunk/debian/rules	2009-08-11 10:01:17 UTC (rev 15626)
+++ krap/libutempter/trunk/debian/rules	2009-08-11 10:38:37 UTC (rev 15627)
@@ -3,4 +3,9 @@
 %:
 	dh $@
 
+override_dh_fixperms:
+	dh_fixperms
+	chmod 2711 debian/libutempter0/usr/lib/utempter/utempter
+	chown root:utmp debian/libutempter0/usr/lib/utempter/utempter
+
 .PHONY: override_dh_auto_test




More information about the pkg-kde-commits mailing list