summarylogtreecommitdiffstats
path: root/ceph.install
blob: c01ba8db56a6dd54aefd71bef6e3654b38863fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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
}