Debian Codegraph @

debian/ca-certificates-java.preinst

raw
1 #!/bin/sh
2 set -e
3
4 # rebuild cacerts on reinstallation after removal since certificate updates
5 # that happened while the package was removed are missing
6 if [ "$1" = "install" ] && [ -n "$2" ]; then
7 mkdir -p /var/lib/ca-certificates-java
8 touch /var/lib/ca-certificates-java/fresh
9 fi
10
11 #DEBHELPER#