[debian-edu-commits] debian-edu/pkg-team/ 142/159: cleanup Debian’s /etc/pam.d/sesman
Dominik George
natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository xrdp.
commit ac24de5987a44a952e15316906300034b4dd6c98
Author: mirabilos <t.glaser at tarent.de>
Date: Wed Sep 2 15:16:22 2015 +0200
cleanup Debian’s /etc/pam.d/sesman
---
changelog | 3 ++-
xrdp.postinst | 4 ++++
xrdp.postrm | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/changelog b/changelog
index 4ecc057..37b6a32 100644
--- a/changelog
+++ b/changelog
@@ -2,8 +2,9 @@ xrdp (0.9.0~git20150902-1~beta1) teckids; urgency=medium
* New upstream snapshot, DFSG-free AFAICT TTBOMK
* Correct missing $ in sysvinit script
+ * Clean up a now-obsolete conffile from xrdp 0.6
- -- Thorsten Glaser <thorsten.glaser at teckids.org> Wed, 02 Sep 2015 15:12:39 +0200
+ -- Thorsten Glaser <thorsten.glaser at teckids.org> Wed, 02 Sep 2015 15:16:02 +0200
xrdp (0.9.0~git20150901+dfsg-1~beta1) teckids; urgency=medium
diff --git a/xrdp.postinst b/xrdp.postinst
index b977935..a491354 100644
--- a/xrdp.postinst
+++ b/xrdp.postinst
@@ -38,6 +38,10 @@ configure)
rm -f /etc/xrdp/rsakeys.ini
fi
+ if dpkg --compare-versions "$2" lt '0.9'; then
+ rm -f /etc/pam.d/sesman
+ fi
+
test -e /etc/xrdp/rsakeys.ini || (
umask 077
xrdp-keygen xrdp auto
diff --git a/xrdp.postrm b/xrdp.postrm
index 43965ee..bf22163 100644
--- a/xrdp.postrm
+++ b/xrdp.postrm
@@ -26,7 +26,7 @@ remove)
;;
purge)
- rm -rf /etc/xrdp /var/run/xrdp
+ rm -rf /etc/pam.d/sesman /etc/xrdp /var/run/xrdp
rm -f /var/log/sesman.log /var/log/xrdp.log /var/log/xrdp-sesman.log
(deluser --system --quiet xrdp || :)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git
More information about the debian-edu-commits
mailing list