core/openldap/openldap.install
2016-03-16 19:02:54 +00:00

15 lines
332 B
Plaintext

# arg 1: the new package version
post_install(){
systemd-sysusers openldap.conf
systemd-tmpfiles --create openldap.conf
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
if (( "$(vercmp $2 2.4.42-1)" < 0 )); then
# install placeholder
systemd-tmpfiles --create openldap.conf
fi
}