From: Roland Mas Date: Tue, 29 May 2012 16:54:51 +0000 (+0000) Subject: Removed fusionforge-config X-Git-Tag: v5_2_rc1~13 X-Git-Url: https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge%2Ffusionforge.git;a=commitdiff_plain;h=abd8e7eaee92d204658af450d759f6f1cf77d513 Removed fusionforge-config --- diff --git a/src/deb-specific/fusionforge-config b/src/deb-specific/fusionforge-config deleted file mode 100644 index 6ade4ed171..0000000000 --- a/src/deb-specific/fusionforge-config +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/sh -# -# Parse all template files and expand them into real files -# Roland Mas, debian-sf (Sourceforge for Debian) -# -# For apache2 we have to remove the Listen 80 directive -# This is to test if apache2 is started and listen on port 80 -# -# -dovhost will create vhosts -[ -f /etc/default/apache2 ] && . /etc/default/apache2 -if [ "x$NO_START" = "x0" ] -then - /usr/share/gforge/bin/setup -fhs -noapache $@ -system pgsql -nolisten80 -else - /usr/share/gforge/bin/setup -fhs -noapache $@ -system pgsql -listen80 -fi - -[ -f /etc/gforge/local.inc ] && chmod 644 /etc/gforge/local.inc -[ -f /etc/gforge/httpd.conf ] && chmod 644 /etc/gforge/httpd.conf - -[ -f /etc/gforge/database.inc ] && chown gforge:gforge /etc/gforge/database.inc -[ -f /etc/gforge/database.inc ] && chmod 640 /etc/gforge/database.inc - -if getent group list > /dev/null -then - [ -f /etc/gforge/database.py ] && chgrp list /etc/gforge/database.py -fi -[ -f /etc/gforge/database.py ] && chmod 640 /etc/gforge/database.py - -[ -f /etc/gforge/local.pl ] && chmod go+rx /etc/gforge -[ -f /etc/gforge/local.pl ] && chown gforge:gforge /etc/gforge/local.pl -[ -f /etc/gforge/local.pl ] && chmod 640 /etc/gforge/local.pl - -[ -f /etc/gforge/templates/httpd.conf.template ] && rm -f /etc/gforge/templates/*.template || true