[Pkg-xfce-commits] r9763 - in /goodies/trunk/lightdm/debian: changelog lightdm.lintian-overrides lightdm.postrm
Yves-Alexis Perez
corsac at moszumanska.debian.org
Sat Mar 25 16:29:05 UTC 2017
Author: corsac
Date: Sat Mar 25 16:29:05 2017
New Revision: 9763
URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=9763
Log:
debian/lightdm.lintian-overrides: add overrides for the command with path
because we actually check for the command existence.
Modified:
goodies/trunk/lightdm/debian/changelog
goodies/trunk/lightdm/debian/lightdm.lintian-overrides
goodies/trunk/lightdm/debian/lightdm.postrm
Modified: goodies/trunk/lightdm/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/lightdm/debian/changelog?rev=9763&op=diff
==============================================================================
--- goodies/trunk/lightdm/debian/changelog (original)
+++ goodies/trunk/lightdm/debian/changelog Sat Mar 25 16:29:05 2017
@@ -4,7 +4,8 @@
- replace plymouth-quit.service since LightDM will quit plymouth by
itself, patch from Laurent Bigonville. closes: #854274
* debian/control: replace lsb-base build-dep by a dependency (in lightdm).
- * debian/lightdm.postrm: use full path for deluser and delgroup.
+ * debian/lightdm.lintian-overrides: add overrides for the command with path
+ because we actually check for the command existence.
-- Yves-Alexis Perez <corsac at debian.org> Sat, 25 Mar 2017 16:57:59 +0100
Modified: goodies/trunk/lightdm/debian/lightdm.lintian-overrides
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/lightdm/debian/lightdm.lintian-overrides?rev=9763&op=diff
==============================================================================
--- goodies/trunk/lightdm/debian/lightdm.lintian-overrides (original)
+++ goodies/trunk/lightdm/debian/lightdm.lintian-overrides Sat Mar 25 16:29:05 2017
@@ -2,3 +2,6 @@
lightdm: hardening-no-stackprotector usr/bin/dm-tool
lightdm: hardening-no-stackprotector usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session-wrapper
lightdm: hardening-no-stackprotector usr/lib/x86_64-linux-gnu/lightdm/lightdm-set-defaults
+# we need the path since we check file existence
+lightdm: command-with-path-in-maintainer-script postrm:22 /usr/sbin/deluser
+lightdm: command-with-path-in-maintainer-script postrm:27 /usr/sbin/delgroup
Modified: goodies/trunk/lightdm/debian/lightdm.postrm
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/lightdm/debian/lightdm.postrm?rev=9763&op=diff
==============================================================================
--- goodies/trunk/lightdm/debian/lightdm.postrm (original)
+++ goodies/trunk/lightdm/debian/lightdm.postrm Sat Mar 25 16:29:05 2017
@@ -20,12 +20,12 @@
fi
if getent passwd lightdm >/dev/null; then
if [ -x /usr/sbin/deluser ]; then
- /usr/sbin/deluser --system lightdm ||echo " Could not remove lightdm user, please make sure lightdm is not running before attempting to purge lightdm"
+ deluser --system lightdm ||echo " Could not remove lightdm user, please make sure lightdm is not running before attempting to purge lightdm"
fi
fi
if getent group lightdm >/dev/null; then
if [ -x /usr/sbin/delgroup ]; then
- /usr/sbin/delgroup --system lightdm || echo "Could not remove lightdm group, please make sure lightdm is not running before attempting to purge lightdm"
+ delgroup --system lightdm || echo "Could not remove lightdm group, please make sure lightdm is not running before attempting to purge lightdm"
fi
fi
fi
More information about the Pkg-xfce-commits
mailing list