summaryrefslogtreecommitdiff
path: root/system/ca-certificates/ca-certificates.post-deinstall
blob: ead634716c2f6e1c9cd13dcd9eaacb34afbd8e3b (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

# clean up broken symlinks and ca-certificates.crt store
find -L /etc/ssl/certs -maxdepth 1 \( -type l -o -name ca-certificates.crt \) \
	-delete
rmdir /etc/ssl/certs 2>/dev/null || true