projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6747787
)
Add some help about debian/ubuntu
author
Christian Bayle
<cbayle@gmail.com>
Thu, 11 Jun 2009 21:05:41 +0000
(21:05 +0000)
committer
Christian Bayle
<cbayle@gmail.com>
Thu, 11 Jun 2009 21:05:41 +0000
(21:05 +0000)
gforge/install.sh
patch
|
blob
|
history
diff --git
a/gforge/install.sh
b/gforge/install.sh
index 790b35c1ed0fc9883b07e5a83c98695377dbf396..915e0007118f0128c0ae6b35720ba6309972e201 100755
(executable)
--- a/
gforge/install.sh
+++ b/
gforge/install.sh
@@
-36,6
+36,14
@@
elif [ -f "/etc/SuSE-release" ]
then
type="suse"
distrib=`awk '{print $1}' /etc/SuSE-release | head -n 1`
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
fi
@@
-128,6
+136,18
@@
then
else
php /opt/gforge/db/upgrade-db.php
fi
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";
else
echo "Only Red Hat, Fedora or CentOS and OpenSUSE are supported by this script.";
echo "See INSTALL for normal installation";