[Fusionforge-commits] r14606 - trunk/src/install

Christian Bayle cbayle at fusionforge.org
Tue Oct 11 23:15:25 CEST 2011


Author: cbayle
Date: 2011-10-11 23:15:24 +0200 (Tue, 11 Oct 2011)
New Revision: 14606

Modified:
   trunk/src/install/install2
Log:
Add support for debian
Replace /etc/gforge by config var


Modified: trunk/src/install/install2
===================================================================
--- trunk/src/install/install2	2011-10-11 21:13:15 UTC (rev 14605)
+++ trunk/src/install/install2	2011-10-11 21:15:24 UTC (rev 14606)
@@ -236,7 +236,7 @@
 	cd $fusionforge_dir
 	if [ ! -d $fusionforge_etc_dir ]
 	then
-		msg red "/etc/gforge didn't exist - error - make sure you've got permission"
+		msg red "$fusionforge_etc_dir didn't exist - error - make sure you've got permission"
 		exit 2
 	fi
 	
@@ -261,23 +261,17 @@
 
 install2_files_ubuntu()
 {
-	echo "--"
-	echo "For ubuntu, rather use ubuntu package"
-	echo "SEE https://fusionforge.org/mediawiki/index.php/Installing/UbuntuRepositories"
-	echo "--"
+	install2_files $1 www-data www-data
 }
 
 install2_files_debian()
 {
-	echo "--"
-	echo "For debian, rather use debian package"
-	echo "SEE https://fusionforge.org/mediawiki/index.php/Installing/DebianRepositories"
-	echo "--"
+	install2_files $1 www-data www-data
 }
 
 install2_files_unknown()
 {
-	echo "Only Red Hat, Fedora or CentOS and OpenSUSE are supported by this script.";
+	echo "Only Debian, Ubuntu, Red Hat, Fedora or CentOS and OpenSUSE are supported by this script.";
 	echo "See INSTALL for normal installation";
 	exit 1
 }




More information about the Fusionforge-commits mailing list