diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-09-21 16:41:37 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-09-21 16:41:37 (GMT) |
commit | b927a8f31804f4bc280dbd254392ba2c5a5b6327 (patch) | |
tree | fa9b20f0177415fcad8af9f38b39494e31ec4e4d /abs/extra/nss/nss.install | |
parent | 0ae29e49212d84846aaae0e38420c8225e6a5b61 (diff) | |
download | linhes_pkgbuild-b927a8f31804f4bc280dbd254392ba2c5a5b6327.zip linhes_pkgbuild-b927a8f31804f4bc280dbd254392ba2c5a5b6327.tar.gz linhes_pkgbuild-b927a8f31804f4bc280dbd254392ba2c5a5b6327.tar.bz2 |
nss: update to 3.20
Diffstat (limited to 'abs/extra/nss/nss.install')
-rw-r--r-- | abs/extra/nss/nss.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/nss/nss.install b/abs/extra/nss/nss.install new file mode 100644 index 0000000..24f9ec6 --- /dev/null +++ b/abs/extra/nss/nss.install @@ -0,0 +1,13 @@ +post_upgrade() { + if (($(vercmp $2 3.18-3) < 0)); then + # This symlink was created by ldconfig because we linked to + # pkcs11/p11-kit-trust.so from libnssckbi.so; the chain was: + # p11-kit-trust.so -> libnssckbi.so -> pkcs11/p11-kit-trust.so + # Now we have: + # libnssckbi.so -> libnssckbi-p11-kit.so + # which no longer creates an incorrect p11-kit-trust.so symlink + if [[ $(readlink usr/lib/p11-kit-trust.so) == libnssckbi.so ]]; then + rm usr/lib/p11-kit-trust.so + fi + fi +} |