Skip to content

Commit f58e63a

Browse files
committed
Install proper git package in Ubuntu install script.
'git-core' provided the 'git' command in Ubuntu LTS.
1 parent d5431f6 commit f58e63a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/install/install_ubuntu.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ confirm() {
55
read -e ignored
66
}
77

8+
GIT='git'
9+
810
ISSUE=`cat /etc/issue`
911
if [[ $ISSUE != Ubuntu* ]]
1012
then
1113
echo "This script is intended for use on Ubuntu, but this system appears";
1214
echo "to be something else. Your results may vary.";
1315
echo
1416
confirm
17+
elif [[ $ISSUE != "Ubuntu 10.04*" ]]
18+
then
19+
GIT='git-core'
1520
fi
1621

1722
echo "PHABRICATOR UBUNTU INSTALL SCRIPT";
@@ -37,7 +42,7 @@ echo
3742
set +x
3843

3944
sudo apt-get -qq update
40-
sudo apt-get install git mysql-server apache2 php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli dpkg-dev
45+
sudo apt-get install $GIT mysql-server apache2 php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli dpkg-dev
4146

4247
HAVEPCNTL=`php -r "echo extension_loaded('pcntl');"`
4348
if [ $HAVEPCNTL != "1" ]

0 commit comments

Comments
 (0)