diff options
Diffstat (limited to 'abs/extra/ca-certificates-java/jks-keystore.hook')
-rw-r--r-- | abs/extra/ca-certificates-java/jks-keystore.hook | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/ca-certificates-java/jks-keystore.hook b/abs/extra/ca-certificates-java/jks-keystore.hook new file mode 100644 index 0000000..67d9eda --- /dev/null +++ b/abs/extra/ca-certificates-java/jks-keystore.hook @@ -0,0 +1,15 @@ +#! /bin/sh + +storepass='changeit' +. /etc/default/cacerts + +echo "" +if [ "$cacerts_updates" != yes ] || [ "$CACERT_UPDATES" = disabled ]; then + echo "updates of cacerts keystore disabled." + exit 0 +fi + +JAR=/usr/share/ca-certificates-java/ca-certificates-java.jar + +java -jar $JAR -storepass "$storepass" +echo "done." |