summarylogtreecommitdiffstats
path: root/bareos-bconsole.install
diff options
context:
space:
mode:
Diffstat (limited to 'bareos-bconsole.install')
-rw-r--r--bareos-bconsole.install8
1 files changed, 6 insertions, 2 deletions
diff --git a/bareos-bconsole.install b/bareos-bconsole.install
index ad7ebd497457..0b1c1d30f095 100644
--- a/bareos-bconsole.install
+++ b/bareos-bconsole.install
@@ -3,6 +3,10 @@ post_install() {
/usr/lib/bareos/scripts/bareos-config initialize_local_hostname
/usr/lib/bareos/scripts/bareos-config initialize_passwords
- chown root:bareos /etc/bareos/bconsole.conf
- chmod 640 /etc/bareos/bconsole.conf
+ chown root:bareos /usr/share/bareos/config/bconsole.conf
+ chmod 640 /usr/share/bareos/config/bconsole.conf
+}
+
+post_upgrade() {
+ post_install
}