summaryrefslogtreecommitdiff
path: root/bareos/bareos-storage-tape.install
diff options
context:
space:
mode:
Diffstat (limited to 'bareos/bareos-storage-tape.install')
-rw-r--r--bareos/bareos-storage-tape.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/bareos/bareos-storage-tape.install b/bareos/bareos-storage-tape.install
new file mode 100644
index 000000000..fa9b48993
--- /dev/null
+++ b/bareos/bareos-storage-tape.install
@@ -0,0 +1,10 @@
+## arg 1: the new package version
+post_install() {
+ chown -R bareos:bareos /etc/bareos/bareos-dir.d
+ chown -R bareos:bareos /etc/bareos/bareos-sd.d
+ chown bareos:bareos /etc/bareos/mtx-changer.conf
+}
+
+post_upgrade() {
+ post_install
+}