aboutsummaryrefslogtreecommitdiffstats
path: root/main/backuppc/backuppc.post-install
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-05-21 13:41:21 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-05-21 13:41:21 +0000
commita9c9ec740b900602f8f5885cb1c19ec238ead6b2 (patch)
treeb75ca5fb3a9552e2260fc7854ffc9495efa70cff /main/backuppc/backuppc.post-install
parent3cc0bf2f5874aad98b2e8473493038a6c9e280f0 (diff)
downloadaports-a9c9ec740b900602f8f5885cb1c19ec238ead6b2.tar.bz2
aports-a9c9ec740b900602f8f5885cb1c19ec238ead6b2.tar.xz
main/backuppc: various fixes for #655
Diffstat (limited to 'main/backuppc/backuppc.post-install')
-rw-r--r--main/backuppc/backuppc.post-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/backuppc/backuppc.post-install b/main/backuppc/backuppc.post-install
index 0ba76f20f4..abbfeb40d6 100644
--- a/main/backuppc/backuppc.post-install
+++ b/main/backuppc/backuppc.post-install
@@ -1,7 +1,8 @@
#!/bin/sh
for dir in /etc /var/log /var/lib
do
-chown -R backuppc.backuppc ${dir}/BackupPC &>/dev/null
+ chown -R backuppc.backuppc ${dir}/BackupPC &>/dev/null
done
chmod 774 /usr/lib/BackupPC/bin/* &>/dev/null
+ln -s /var/www/htdocs/BackupPC/index.cgi /var/www/cgi-bin/BackupPC_Admin &>/dev/null