[tecnoballz] 45/56: Do not use the obsolete incorrect full /usr/sbin/dpkg-statoverride.

Markus Koschany apo-guest at moszumanska.debian.org
Fri Jan 30 12:12:56 UTC 2015


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

apo-guest pushed a commit to branch master
in repository tecnoballz.

commit 75ebe2251e105a9a0a4d26dc29480f17dc847f0b
Author: Peter Pentchev <roam at ringlet.net>
Date:   Sat Nov 29 00:16:32 2014 +0000

    Do not use the obsolete incorrect full /usr/sbin/dpkg-statoverride.
    
    Closes:		#770059
    Submitted by:	Guillem Jover <guillem at debian.org>
---
 debian/changelog           | 8 ++++++++
 debian/tecnoballz.postinst | 3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9f52067..956e4ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tecnoballz (0.93.1-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Do not use the obsolete and incorrect full path to dpkg-statoverride.
+    Closes: #770059
+
+ -- Peter Pentchev <roam at ringlet.net>  Sat, 29 Nov 2014 02:07:59 +0200
+
 tecnoballz (0.93.1-1) unstable; urgency=medium
 
   * Imported Upstream version 0.93.1.
diff --git a/debian/tecnoballz.postinst b/debian/tecnoballz.postinst
index 72b5c48..6862ad7 100644
--- a/debian/tecnoballz.postinst
+++ b/debian/tecnoballz.postinst
@@ -9,8 +9,7 @@ case "$1" in
     configure)
 
     # tecnoballz is setuid "root:games".
-    if ! [ -x /usr/sbin/dpkg-statoverride ] || \
-        ! dpkg-statoverride --list "$PROG" >/dev/null ; then
+    if ! dpkg-statoverride --list "$PROG" >/dev/null ; then
       chown root:games "$PROG"
       chmod 2755 "$PROG"
     fi

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



More information about the Pkg-games-commits mailing list