summaryrefslogtreecommitdiff
path: root/bareos/bareos-bconsole.install
blob: 0b1c1d30f09557c8f6fed5616c151ef70ab2f555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## arg 1:  the new package version
post_install() {
	/usr/lib/bareos/scripts/bareos-config initialize_local_hostname
	/usr/lib/bareos/scripts/bareos-config initialize_passwords

	chown root:bareos /usr/share/bareos/config/bconsole.conf
	chmod 640 /usr/share/bareos/config/bconsole.conf
}

post_upgrade() {
  post_install
}