diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-09-23 00:04:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-09-23 00:04:27 (GMT) |
commit | 4b74af3a1a584a48b2aa6cb866137e2509a89706 (patch) | |
tree | a709dabd354d18bb9283c77a9431f82c8aa0ed32 /abs/core/ca-certificates/ca-certificates.install | |
parent | f23f97abfd157cc02be0f088ea6c248953f9bb1f (diff) | |
download | linhes_pkgbuild-4b74af3a1a584a48b2aa6cb866137e2509a89706.zip linhes_pkgbuild-4b74af3a1a584a48b2aa6cb866137e2509a89706.tar.gz linhes_pkgbuild-4b74af3a1a584a48b2aa6cb866137e2509a89706.tar.bz2 |
ca-certificates: update
Diffstat (limited to 'abs/core/ca-certificates/ca-certificates.install')
-rw-r--r-- | abs/core/ca-certificates/ca-certificates.install | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/abs/core/ca-certificates/ca-certificates.install b/abs/core/ca-certificates/ca-certificates.install deleted file mode 100644 index cbd88e6..0000000 --- a/abs/core/ca-certificates/ca-certificates.install +++ /dev/null @@ -1,23 +0,0 @@ -export LC_ALL=C - -post_install() { - usr/bin/update-ca-certificates --fresh >/dev/null 2>&1 -} - -post_upgrade() { - 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 -} |