2 # FusionForge Installation Dependency Setup
4 # Copyright 2011 Christian Bayle <bayle@debian.org>
5 # http://fusionforge.org/
9 # This file is part of GInstaller, it is called by install.sh.
11 # FusionForge is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; either version 2 of the License, or
14 # (at your option) any later version.
16 # FusionForge is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License along
22 # with FusionForge; if not, write to the Free Software Foundation, Inc.,
23 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 if [ -f "$fusionforge_etc_dir/local.inc" ]
28 PATH=$fusionforge_dir/utils/:$PATH migrate-to-ini-files.sh
31 PATH=$fusionforge_dir/utils/:$PATH manage-apache-config.sh install
33 ls $fusionforge_etc_dir/httpd.conf.d/*.generated | while read i
35 mv $i ${i%%.generated}
37 chmod +x $fusionforge_dir/utils/fg_template
38 SUFFIX='empty' $fusionforge_dir/utils/fg_template
41 install4_config_redhat()
46 install4_config_suse()
51 install4_config_debian()
56 install4_config_ubuntu()
61 install4_config_unknown()