[Fusionforge-commits] r7820 - trunk/gforge

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Jun 11 23:05:42 CEST 2009


Author: cbayle
Date: 2009-06-11 23:05:41 +0200 (Thu, 11 Jun 2009)
New Revision: 7820

Modified:
   trunk/gforge/install.sh
Log:
Add some help about debian/ubuntu


Modified: trunk/gforge/install.sh
===================================================================
--- trunk/gforge/install.sh	2009-06-11 17:42:28 UTC (rev 7819)
+++ trunk/gforge/install.sh	2009-06-11 21:05:41 UTC (rev 7820)
@@ -36,6 +36,14 @@
 then
 	type="suse"
 	distrib=`awk '{print $1}' /etc/SuSE-release | head -n 1`
+elif [ -f "/etc/ubuntu_version" ]
+then
+	type="ubuntu"
+	distrib=`awk '{print $1}' /etc/ubuntu_version`
+elif [ -f "/etc/debian_version" ]
+then
+	type="debian"
+	distrib=`awk '{print $1}' /etc/debian_version`
 fi
 
 
@@ -128,6 +136,18 @@
 	else
 		php /opt/gforge/db/upgrade-db.php
 	fi
+elif [ $type = "ubuntu" ]
+then
+	echo "--"
+	echo "For ubuntu, rather use ubuntu $distrib package"
+	echo "SEE https://fusionforge.org/mediawiki/index.php/Installing/UbuntuRepositories"
+	echo "--"
+elif [ $type = "debian" ]
+then
+	echo "--"
+	echo "For debian, rather use debian $distrib package"
+	echo "SEE https://fusionforge.org/mediawiki/index.php/Installing/DebianRepositories"
+	echo "--"
 else
 	echo "Only Red Hat, Fedora or CentOS and OpenSUSE are supported by this script.";
 	echo "See INSTALL for normal installation";




More information about the Fusionforge-commits mailing list