[Git][debian-proftpd-team/proftpd][master] Removing ucf hashes on purge

Francesco Paolo Lovergine frankie at debian.org
Tue Jan 5 17:09:54 GMT 2021



Francesco Paolo Lovergine pushed to branch master at Debian ProFTPD Team / proftpd


Commits:
5ecd6c78 by Francesco Paolo Lovergine at 2021-01-05T18:09:41+01:00
Removing ucf hashes on purge

- - - - -


2 changed files:

- debian/changelog
- debian/proftpd-core.postrm


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+proftpd-dfsg (1.3.7a+dfsg-11) UNRELEASED; urgency=medium
+
+  * Missing removing of ucf hashes on purge added to postrm.
+
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Tue, 05 Jan 2021 18:08:31 +0100
+
 proftpd-dfsg (1.3.7a+dfsg-10) unstable; urgency=medium
 
   * Fixed missing s/mod_snmp/snmp/ in postinst.


=====================================
debian/proftpd-core.postrm
=====================================
@@ -12,6 +12,16 @@ fi
 
 if [ "$1" = "purge" ]
 then
+	# remove ucf hashes on purge
+    ucf --purge /etc/proftpd/proftpd.conf
+    ucf --purge /etc/proftpd/modules.conf
+    ucf --purge /etc/proftpd/tls.conf
+    ucf --purge /etc/proftpd/sql.conf
+    ucf --purge /etc/proftpd/ldap.conf
+    ucf --purge /etc/proftpd/virtuals.conf
+    ucf --purge /etc/proftpd/sftp.conf
+    ucf --purge /etc/proftpd/geoip.conf
+    ucf --purge /etc/proftpd/snmp.conf
     rm -rf /etc/proftpd 
     rm -rf /var/log/proftpd
     rm -rf /srv/ftp



View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/5ecd6c78ad825b997131ac16a3cbe90d3358bcce

-- 
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/5ecd6c78ad825b997131ac16a3cbe90d3358bcce
You're receiving this email because of your account on salsa.debian.org.




More information about the Pkg-proftpd-maintainers mailing list