# 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 }