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 }