summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index ca6aab0..35e1ef3 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -74,6 +74,12 @@ case "$1" in
if memberp "$ca" "$CERTS_ENABLED"; then
echo "$ca"
# CERTS_ENABLED=$(delca "$ca" "$CERTS_ENABLED")
+ elif memberp "$ca" "$CERTS_AVAILABLE" ||
+ echo "$line" | grep -q '^!'; then
+ echo "!$ca"
+ elif [ -f /usr/share/ca-certificates/"$ca" ] || \
+ [ -f /usr/local/share/ca-certificates/"$ca" ]; then
+ echo "$ca"
else
echo "!$ca"
fi