# vim: ft=sh ts=2 sw=2 et: # arg 1: the new package version post_install() { systemd-sysusers ceph.conf systemd-tmpfiles --create ceph.conf } # arg 1: the new package version # arg 2: the old package version post_upgrade() { if (( "$(vercmp $2 '10.2.2-1')" < 0 )); then systemd-sysusers ceph.conf systemd-tmpfiles --create ceph.conf fi }