summaryrefslogtreecommitdiffstats
path: root/abs/extra/ca-certificates-java/jks-keystore.hook
blob: 67d9eda0b0f3d2e71fe5546eb5248c29160cf506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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."