mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-17 20:32:41 +01:00
Install proper git package in Ubuntu install script.
'git-core' provided the 'git' command in Ubuntu LTS.
This commit is contained in:
parent
d5431f6d9d
commit
f58e63a917
1 changed files with 6 additions and 1 deletions
|
@ -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 php5-cli 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" ]
|
||||
|
|
Loading…
Reference in a new issue