summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorroot <root@dev.spline.de>2009-01-21 10:31:13 +0100
committerroot <root@dev.spline.de>2009-01-21 10:31:13 +0100
commit6289f0de22f71423bef20f73d04fe0c00227ac86 (patch)
tree5eecd146fea0a7d5eb16db9b9d4c81b427939993 /bin
parenta633e95aab270189c543d6e4e1e764b2c31e2203 (diff)
downloaddev-scripts-6289f0de22f71423bef20f73d04fe0c00227ac86.tar.gz
dev-scripts-6289f0de22f71423bef20f73d04fe0c00227ac86.tar.xz
dev-scripts-6289f0de22f71423bef20f73d04fe0c00227ac86.zip
set project to open in database too
Diffstat (limited to '')
-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\/}