[Pkg-freeipa-devel] [Git][freeipa-team/certmonger][master] 3 commits: postrm: Remove more files on purge.

Timo Aaltonen gitlab at salsa.debian.org
Tue Nov 3 08:50:15 GMT 2020



Timo Aaltonen pushed to branch master at FreeIPA packaging / certmonger


Commits:
0d57f44b by Timo Aaltonen at 2020-11-03T10:07:20+02:00
postrm: Remove more files on purge.

- - - - -
4af939ed by Timo Aaltonen at 2020-11-03T10:47:02+02:00
postinst: Don't try to remove certmaster if it's not available.

- - - - -
1e0bfe43 by Timo Aaltonen at 2020-11-03T10:47:13+02:00
releasing package certmonger version 0.79.13-3

- - - - -


3 changed files:

- debian/certmonger.postinst
- debian/certmonger.postrm
- debian/changelog


Changes:

=====================================
debian/certmonger.postinst
=====================================
@@ -25,7 +25,9 @@ case "$1" in
 	    invoke-rc.d dbus force-reload || true
 	fi
 
-	getcert remove-ca -c certmaster 2>&1 || true
+	if getcert list-cas -c certmaster | grep -q certmaster; then
+	    getcert remove-ca -c certmaster 2>&1 || true
+	fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)


=====================================
debian/certmonger.postrm
=====================================
@@ -4,6 +4,8 @@ set -e
 case "$1" in
     remove|purge)
         rm -f /var/lib/certmonger/cas/*
+        rm -f /var/lib/certmonger/local/*
+        rm -f /var/lib/certmonger/lock
         rm -f /var/lib/certmonger/requests/*
     ;;
 esac


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+certmonger (0.79.13-3) unstable; urgency=medium
+
+  * postrm: Remove more files on purge.
+  * postinst: Don't try to remove certmaster if it's not available.
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Tue, 03 Nov 2020 10:47:06 +0200
+
 certmonger (0.79.13-2) unstable; urgency=medium
 
   * postinst: Don't fail if certmaster CA isn't found.



View it on GitLab: https://salsa.debian.org/freeipa-team/certmonger/-/compare/06f56fa9c90711e1960bf8ddfede63523a91a0b5...1e0bfe430f7d69cdb947fb647afe9b16ad1ab843

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/certmonger/-/compare/06f56fa9c90711e1960bf8ddfede63523a91a0b5...1e0bfe430f7d69cdb947fb647afe9b16ad1ab843
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20201103/02f533ab/attachment-0001.html>


More information about the Pkg-freeipa-devel mailing list