13 lines
290 B
Bash
Executable File
13 lines
290 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove|purge|disappear)
|
|
if command -v update-ca-certificates >/dev/null 2>&1; then
|
|
echo "Removing certificate from system trust store..."
|
|
update-ca-certificates --fresh >/dev/null 2>&1 || true
|
|
fi
|
|
;;
|
|
esac
|
|
exit 0
|