r51151 - in /desktop/unstable/gnome-initial-setup/debian: changelog postrm

jordi at users.alioth.debian.org jordi at users.alioth.debian.org
Fri Sep 23 23:48:10 UTC 2016


Author: jordi
Date: Fri Sep 23 23:48:10 2016
New Revision: 51151

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=51151
Log:
Avoid using full path to deluser in postrm script to quieten lintian.

Modified:
    desktop/unstable/gnome-initial-setup/debian/changelog
    desktop/unstable/gnome-initial-setup/debian/postrm

Modified: desktop/unstable/gnome-initial-setup/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-initial-setup/debian/changelog?rev=51151&op=diff
==============================================================================
--- desktop/unstable/gnome-initial-setup/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-initial-setup/debian/changelog	[utf-8] Fri Sep 23 23:48:10 2016
@@ -6,6 +6,7 @@
   * Update Build-Depends as per configure.ac.
   * Explicitly enable the software sources page.
   * Refresh polkit-allow-NM.patch.
+  * Avoid using full path to deluser in postrm script to quieten lintian.
 
  -- Jordi Mallach <jordi at debian.org>  Wed, 03 Aug 2016 12:27:42 +0200
 

Modified: desktop/unstable/gnome-initial-setup/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-initial-setup/debian/postrm?rev=51151&op=diff
==============================================================================
--- desktop/unstable/gnome-initial-setup/debian/postrm	[utf-8] (original)
+++ desktop/unstable/gnome-initial-setup/debian/postrm	[utf-8] Fri Sep 23 23:48:10 2016
@@ -4,7 +4,7 @@
 
 if [ "$1" = "purge" ] ; then
         if getent passwd gnome-initial-setup >/dev/null; then
-                if [ -x /usr/sbin/deluser ]; then
+                if which deluser >/dev/null 2>&1; then
                         deluser --system gnome-initial-setup || echo "Could not remove gnome-initial-setup user."
                 fi
         fi




More information about the pkg-gnome-commits mailing list