[debian-edu-commits] debian-edu/pkg-team/ 149/159: only purge files created by maintainer scripts

Dominik George natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:35 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 ba877a8403481ad48b0cb918162274802f9fdfe8
Author: mirabilos <tg at mirbsd.org>
Date:   Wed Sep 2 19:00:20 2015 +0200

    only purge files created by maintainer scripts
---
 xrdp.postrm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xrdp.postrm b/xrdp.postrm
index bf22163..b7607b9 100644
--- a/xrdp.postrm
+++ b/xrdp.postrm
@@ -26,8 +26,9 @@ remove)
 	;;
 
 purge)
-	rm -rf /etc/pam.d/sesman /etc/xrdp /var/run/xrdp
+	rm -f /etc/pam.d/sesman /etc/xrdp/rsakeys.ini
 	rm -f /var/log/sesman.log /var/log/xrdp.log /var/log/xrdp-sesman.log
+	rm -rf /var/run/xrdp
 
 	(deluser --system --quiet xrdp || :)
 	(delgroup --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