[SCM] KDE Base Workspace module packaging branch, master, updated. debian/4.11.3-3-14-g5ef08f7
Maximiliano Curia
maxy at moszumanska.debian.org
Mon Jan 27 22:23:46 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/kde-workspace.git;a=commitdiff;h=c274472
The following commit has been merged in the master branch:
commit c274472858e9cea9cb778ca65a81fe6fa5c43366
Author: Maximiliano Curia <maxy at debian.org>
Date: Mon Jan 27 14:14:05 2014 +0100
Fix lintian error message: maintainer-script-should-not-use-adduser-system-without-home.
---
debian/changelog | 2 ++
debian/kdm.postinst | 2 +-
debian/kdm.prerm | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2838935..bccaa7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ kde-workspace (4:4.11.5-1) UNRELEASED; urgency=medium
* Add autopkgtests.
* Add abi-compliance-checker info.
* Split libkwinglesutils package.
+ * Fix lintian error message: maintainer-script-should-not-use-adduser-
+ system-without-home.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sun, 12 Jan 2014 21:12:20 -0300
diff --git a/debian/kdm.postinst b/debian/kdm.postinst
index 3b4973d..26353dd 100644
--- a/debian/kdm.postinst
+++ b/debian/kdm.postinst
@@ -74,7 +74,7 @@ fi
case "$1" in
configure)
- adduser --system --quiet --no-create-home kdm
+ adduser --system --quiet --home /var/lib/kdm --no-create-home kdm
if [ -d /var/lib/kdm ]; then
chown -R kdm /var/lib/kdm
fi
diff --git a/debian/kdm.prerm b/debian/kdm.prerm
index 39e3b16..144d202 100644
--- a/debian/kdm.prerm
+++ b/debian/kdm.prerm
@@ -49,7 +49,7 @@ if grep -qs ^restart-on-upgrade /etc/kde4/kdm/kdm.options ||
# any children?
PARENTS=$(pidof /usr/bin/kdm || true)
CHILDREN=
- if [ -n "$PARENTS" ]; then
+ if [ -n "$PARENTS" ]; then
for PROCESS in $PARENTS; do
# make sure we got numbers back
[ $PROCESS -eq $PROCESS ] 2> /dev/null ||
--
KDE Base Workspace module packaging
More information about the pkg-kde-commits
mailing list