Revert "Remove all orphan symlinks found in /etc/ssl/certs"

This reverts commit 1ef0fd15cc.

While this worked great to fix the error, it also broke the counting on
upgrade for how many certificates were removed.. (-_-)
This commit is contained in:
Michael Shuler 2018-12-20 17:41:01 -06:00
parent 1ef0fd15cc
commit 190e13219e
2 changed files with 0 additions and 11 deletions

3
debian/changelog vendored
View file

@ -3,9 +3,6 @@ ca-certificates (20181220) UNRELEASED; urgency=medium
* debian/ca-certificates.postinst:
Fix permissions on /usr/local/share/ca-certificates when using symlinks.
Closes: #916833
* sbin/update-ca-certificates:
Remove orphaned symlinks found in /etc/ssl/certs, to prevent `openssl
rehash` from exiting with an error. Closes: #895482, #895473
* mozilla/{certdata.txt,nssckbi.h}:
Update Mozilla certificate authority bundle to version 2.28.
The following certificate authorities were added (+):

View file

@ -111,14 +111,6 @@ remove() {
fi
}
# Remove all orphan symlinks found in ETCCERTSDIR, to prevent
# `openssl rehash` from exiting with an error. See #895482, #895473.
find $ETCCERTSDIR -type l ! -exec test -e {} \; -print | while read orphan
do
rm -f "$orphan"
echo "Removed orphan symlink $orphan"
done
cd "$ETCCERTSDIR"
if [ "$fresh" = 1 ]; then
echo "Clearing symlinks in $ETCCERTSDIR..."