]> git.donarmstrong.com Git - ca-certificates.git/commitdiff
Correct piuparts package remove/purge behavior Closes: #682125
authorMichael Shuler <michael@pbandjelly.org>
Sat, 21 Jul 2012 19:01:49 +0000 (14:01 -0500)
committerMichael Shuler <michael@pbandjelly.org>
Sat, 21 Jul 2012 19:01:49 +0000 (14:01 -0500)
- Remove deletes of /etc/ssl{,/certs} from debian/postrm
- Add etc/ssl to debian/dirs

debian/changelog
debian/dirs
debian/postrm

index 7736538f447d593e1d9517b5d10c8ef8e4774e1e..89d7d03c645d74b906d770d882c4b0e7f6c11c5a 100644 (file)
@@ -1,4 +1,4 @@
-ca-certificates (20120710) UNRELEASED; urgency=low
+ca-certificates (20120721) UNRELEASED; urgency=low
 
   * Update mozilla/certdata.txt to version 1.85
     Certificates added (+) (none removed):
@@ -8,8 +8,11 @@ ca-certificates (20120710) UNRELEASED; urgency=low
     + "StartCom Certification Authority G2"
     + "Buypass Class 2 Root CA"
     + "Buypass Class 3 Root CA"
+  * Correct piuparts package remove/purge behavior  Closes: #682125
+    - Remove deletes of /etc/ssl{,/certs} from debian/postrm
+    - Add etc/ssl to debian/dirs
 
- -- Michael Shuler <michael@pbandjelly.org>  Tue, 10 Jul 2012 14:05:27 -0500
+ -- Michael Shuler <michael@pbandjelly.org>  Sat, 21 Jul 2012 09:54:25 -0500
 
 ca-certificates (20120623) unstable; urgency=low
 
index b64bbd3c36bfd2d51e09502990773f861dbe3a41..840b840bad89af4266209f446eb46e42c9c3361a 100644 (file)
@@ -1,3 +1,4 @@
+etc/ssl
 etc/ssl/certs
 usr/sbin
 usr/share/ca-certificates/
index 9b3c29c7809c5acb039f88466de2c8cb79be9500..11759fea4e21b4f4b9a43679833b458cd02c47ce 100644 (file)
@@ -46,12 +46,6 @@ case "$1" in
     purge)
         rm -f /etc/ssl/certs/ca-certificates.crt
         remove_dangling_symlinks
-
-        # Clean up even if openssl is removed before ca-certificates.
-        # (Which is what piuparts does.)
-        [ -d /etc/ssl/certs ] && rmdir --ignore-fail-on-non-empty /etc/ssl/certs
-        [ -d /etc/ssl ] && rmdir --ignore-fail-on-non-empty /etc/ssl
-
         rm -f /etc/ca-certificates.conf*
         ;;