diff options
Diffstat (limited to 'libre/ca-certificates/ca-certificates.install')
-rw-r--r-- | libre/ca-certificates/ca-certificates.install | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libre/ca-certificates/ca-certificates.install b/libre/ca-certificates/ca-certificates.install deleted file mode 100644 index 4e90c2ef6..000000000 --- a/libre/ca-certificates/ca-certificates.install +++ /dev/null @@ -1,26 +0,0 @@ -export LC_ALL=C - -post_install() { - usr/bin/update-ca-certificates --fresh >/dev/null 2>&1 -} - -post_upgrade() { - if [ $(vercmp $2 20110421-1) -lt 0 ]; then - echo 'Updating certificates. This might take a while...' - fi - usr/bin/update-ca-certificates --fresh >/dev/null 2>&1 -} - -pre_remove() { - # clean up certificates - local _backup=$(mktemp) - mv etc/ca-certificates.conf ${_backup} - echo > etc/ca-certificates.conf - usr/bin/update-ca-certificates --fresh >/dev/null 2>&1 - mv ${_backup} etc/ca-certificates.conf -} - -post_remove() { - # remove the cert file if it is empty - [[ -s etc/ssl/certs/ca-certificates.crt ]] || rm -f etc/ssl/certs/ca-certificates.crt -} |