diff options
Diffstat (limited to 'bareos-common.install')
-rw-r--r-- | bareos-common.install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bareos-common.install b/bareos-common.install index c82f70d63e0c..42615708110f 100644 --- a/bareos-common.install +++ b/bareos-common.install @@ -10,6 +10,7 @@ pre_install() { # arg 1: the new package version post_install() { chown bareos:bareos /var/lib/bareos/ + chown bareos:bareos /run/bareos/ #chown bareos:bareos /var/log/bareos/ } @@ -19,6 +20,10 @@ pre_upgrade() { pre_install } +post_upgrade() { + post_install +} + # arg 1: the old package version post_remove() { getent passwd bareos > /dev/null && userdel bareos |