We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5431f6 commit f58e63aCopy full SHA for f58e63a
scripts/install/install_ubuntu.sh
@@ -5,13 +5,18 @@ confirm() {
5
read -e ignored
6
}
7
8
+GIT='git'
9
+
10
ISSUE=`cat /etc/issue`
11
if [[ $ISSUE != Ubuntu* ]]
12
then
13
echo "This script is intended for use on Ubuntu, but this system appears";
14
echo "to be something else. Your results may vary.";
15
echo
16
confirm
17
+elif [[ $ISSUE != "Ubuntu 10.04*" ]]
18
+then
19
+ GIT='git-core'
20
fi
21
22
echo "PHABRICATOR UBUNTU INSTALL SCRIPT";
@@ -37,7 +42,7 @@ echo
37
42
set +x
38
43
39
44
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
41
46
47
HAVEPCNTL=`php -r "echo extension_loaded('pcntl');"`
48
if [ $HAVEPCNTL != "1" ]
0 commit comments