summaryrefslogtreecommitdiffstats
path: root/bin/addproject
diff options
context:
space:
mode:
authorroot <root@dev.spline.de>2008-10-17 16:03:39 +0200
committerroot <root@dev.spline.de>2008-10-17 16:03:39 +0200
commit12b71da0152f924de1faccaae62032f5d41fbbcc (patch)
treec8fe418102c9d8bcc782c1a42a77e5ef6c168081 /bin/addproject
parent92b33183a68ed8c71405d8a5289604991f7396e1 (diff)
downloaddev-scripts-12b71da0152f924de1faccaae62032f5d41fbbcc.tar.gz
dev-scripts-12b71da0152f924de1faccaae62032f5d41fbbcc.tar.xz
dev-scripts-12b71da0152f924de1faccaae62032f5d41fbbcc.zip
make trac.init writable by apache
Diffstat (limited to '')
-rwxr-xr-xbin/addproject1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/addproject b/bin/addproject
index 4ece360..8c85195 100755
--- a/bin/addproject
+++ b/bin/addproject
@@ -74,6 +74,7 @@ main() {
eexec trac-admin ${trac_home} permission add authenticated TRAC_ADMIN
eexec trac-admin ${trac_home} wiki import WikiStart WikiStart.txt
eexec trac-admin ${trac_home} wiki import GettingStarted GettingStarted.txt
+ eexec chown apache:apache ${trac_home}/conf/trac.ini
eheading "setting up apache2"
eexec sed -i -e "\$a\\# ${project_name} (added on $(date -R))\\" ${APACHE_PROJECT_CONF}