File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,18 @@ confirm() {
5
5
read -e ignored
6
6
}
7
7
8
+ GIT=' git'
9
+
8
10
ISSUE=` cat /etc/issue`
9
11
if [[ $ISSUE != Ubuntu* ]]
10
12
then
11
13
echo " This script is intended for use on Ubuntu, but this system appears" ;
12
14
echo " to be something else. Your results may vary." ;
13
15
echo
14
16
confirm
17
+ elif [[ $ISSUE != " Ubuntu 10.04*" ]]
18
+ then
19
+ GIT=' git-core'
15
20
fi
16
21
17
22
echo " PHABRICATOR UBUNTU INSTALL SCRIPT" ;
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
42
47
HAVEPCNTL=` php -r " echo extension_loaded('pcntl');" `
43
48
if [ $HAVEPCNTL != " 1" ]
You can’t perform that action at this time.
0 commit comments