summaryrefslogtreecommitdiff
path: root/sbin/update-ca-certificates
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/update-ca-certificates')
-rwxr-xr-xsbin/update-ca-certificates8
1 files changed, 0 insertions, 8 deletions
diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
index 175035a..bdf5b27 100755
--- a/sbin/update-ca-certificates
+++ b/sbin/update-ca-certificates
@@ -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..."