summaryrefslogtreecommitdiffstats
path: root/testing/backuppc/backuppc.post-install
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-03-03 10:55:01 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-03-03 10:55:01 +0000
commit85d7d78870c6066d06dfde4605fd0190e6cdae74 (patch)
tree49f751ec908c31cae3809bbf584efb1ced928efa /testing/backuppc/backuppc.post-install
parent608fff75560b806c610ee25acb4c62682b3286b4 (diff)
downloadaports-85d7d78870c6066d06dfde4605fd0190e6cdae74.tar.bz2
aports-85d7d78870c6066d06dfde4605fd0190e6cdae74.tar.xz
testing/backuppc: configure script added to package, dir naming and perms fix
Diffstat (limited to 'testing/backuppc/backuppc.post-install')
-rw-r--r--testing/backuppc/backuppc.post-install8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/backuppc/backuppc.post-install b/testing/backuppc/backuppc.post-install
index b0877e22..0ba76f20 100644
--- a/testing/backuppc/backuppc.post-install
+++ b/testing/backuppc/backuppc.post-install
@@ -1,3 +1,7 @@
#!/bin/sh
-chown -R backuppc.backuppc /etc/BackupPC &>/dev/null
-chown -R backuppc.backuppc /var/lib/backup/data/BackupPC &>/dev/null
+for dir in /etc /var/log /var/lib
+do
+chown -R backuppc.backuppc ${dir}/BackupPC &>/dev/null
+done
+
+chmod 774 /usr/lib/BackupPC/bin/* &>/dev/null