aports/main/ca-certificates/ca-certificates.post-deinstall
Natanael Copa 9a555c83e0 main/ca-certificates: don't delete ca-certificates.crt
The ca-certificates.crt was previously not shipped with any package, but
generated from trigger script, so the post-deinstall needed to delete
it. Since commit 7363758e1d (main/ca-certificates: ditch python dep,
symlink ca-certificates.crt) this is no longer the case, and we ship a
pre-generated bundle in the ca-certificates-bundle subpackage. So we
should no longer delte ca-certificates.crt from post-deinstall.

fixes #11663
2020-06-18 08:40:37 +00:00

6 lines
137 B
Bash

#!/bin/sh
# clean up broken symlinks store
find -L /etc/ssl/certs -maxdepth 1 -type l -delete
rmdir /etc/ssl/certs 2>/dev/null || true