1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00

Merge pull request #67 from cheecheeo/master

Better support for installing on Ubuntu.
This commit is contained in:
Evan Priestley 2011-10-15 13:16:47 -07:00
commit c3cc333e15

View file

@ -5,6 +5,8 @@ confirm() {
read -e ignored
}
GIT='git'
ISSUE=`cat /etc/issue`
if [[ $ISSUE != Ubuntu* ]]
then
@ -12,6 +14,9 @@ then
echo "to be something else. Your results may vary.";
echo
confirm
elif [[ $ISSUE != "Ubuntu 10.04*" ]]
then
GIT='git-core'
fi
echo "PHABRICATOR UBUNTU INSTALL SCRIPT";
@ -37,7 +42,7 @@ echo
set +x
sudo apt-get -qq update
sudo apt-get install git mysql-server apache2 php5 php5-mysql php5-gd php5-dev php5-curl php-apc dpkg-dev
sudo apt-get install $GIT mysql-server apache2 php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli dpkg-dev
HAVEPCNTL=`php -r "echo extension_loaded('pcntl');"`
if [ $HAVEPCNTL != "1" ]