From 6289f0de22f71423bef20f73d04fe0c00227ac86 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Jan 2009 10:31:13 +0100 Subject: set project to open in database too --- bin/openproject | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/openproject') 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\/} -- cgit v1.2.3