summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/openproject3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/openproject b/bin/openproject
index faa29ca..9475545 100755
--- a/bin/openproject
+++ b/bin/openproject
@@ -36,6 +36,9 @@ main() {
eexec sed -i -e "s/Use SVNProjectClosed ${project_name}/Use SVNProject ${project_name}/" /etc/apache2/vhosts.d/dev_vhost.include
eexec /etc/init.d/apache2 reload
+ # set project to private in database
+ dbquery "UPDATE project SET private = 0 WHERE project_name = '${project_name}'"
+
eheading "committing changes to our git-repository in /etc"
pushd /etc > /dev/null
eexec git add ${APACHE_PROJECT_CONF/\/etc\/}