Package cepces-certmonger: Scripts

Post install

1
2
3
4
5
# Install the CA into certmonger.
if [[ "$1" == "1" ]]; then
  getcert add-ca -c cepces \
    -e /usr/libexec/certmonger/cepces-submit >/dev/null || :
fi
Pre uninstall

1
2
3
4
# Remove the CA from certmonger, unless it's an upgrade.
if [[ "$1" == "0" ]]; then
  getcert remove-ca -c cepces >/dev/null || :
fi