mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
Merge pull request #67 from cheecheeo/master
Better support for installing on Ubuntu.
This commit is contained in:
commit
c3cc333e15
1 changed files with 6 additions and 1 deletions
|
@ -5,6 +5,8 @@ confirm() {
|
||||||
read -e ignored
|
read -e ignored
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GIT='git'
|
||||||
|
|
||||||
ISSUE=`cat /etc/issue`
|
ISSUE=`cat /etc/issue`
|
||||||
if [[ $ISSUE != Ubuntu* ]]
|
if [[ $ISSUE != Ubuntu* ]]
|
||||||
then
|
then
|
||||||
|
@ -12,6 +14,9 @@ then
|
||||||
echo "to be something else. Your results may vary.";
|
echo "to be something else. Your results may vary.";
|
||||||
echo
|
echo
|
||||||
confirm
|
confirm
|
||||||
|
elif [[ $ISSUE != "Ubuntu 10.04*" ]]
|
||||||
|
then
|
||||||
|
GIT='git-core'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "PHABRICATOR UBUNTU INSTALL SCRIPT";
|
echo "PHABRICATOR UBUNTU INSTALL SCRIPT";
|
||||||
|
@ -37,7 +42,7 @@ echo
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
sudo apt-get -qq update
|
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');"`
|
HAVEPCNTL=`php -r "echo extension_loaded('pcntl');"`
|
||||||
if [ $HAVEPCNTL != "1" ]
|
if [ $HAVEPCNTL != "1" ]
|
||||||
|
|
Loading…
Reference in a new issue