Add postinst script to ca-certificates-mono, to handle versions of Ubuntu whose ca-certificates does not contain the update-ca-certificates trigger (i.e. anything before Trusty)
Former-commit-id: f6cc81252f86c8ef8949e201f103c3054b0cea5e
This commit is contained in:
parent
60fc9599e5
commit
70fdd1c6c2
14
debian/ca-certificates-mono.postinst
vendored
Executable file
14
debian/ca-certificates-mono.postinst
vendored
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "x$1" == "xconfigure" ] && [ -x /usr/sbin/update-ca-certificates ]; then
|
||||||
|
if [ ! -f /var/lib/dpkg/triggers/update-ca-certificates ]; then
|
||||||
|
/usr/sbin/update-ca-certificates
|
||||||
|
else
|
||||||
|
/usr/bin/dpkg-trigger update-ca-certificates
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user