added dependency ppa:ondrej/php repo and package software-properties-common
This commit is contained in:
parent
cd3750886c
commit
404c0a8f6d
|
|
@ -22,12 +22,15 @@ fi
|
|||
if [ .$USE_PHP5_PACKAGE = .true ]; then
|
||||
#don't add php7.0 repository
|
||||
verbose "Switching forcefully to php5* packages"
|
||||
which add-apt-repository || apt-get install -y software-properties-common
|
||||
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
|
||||
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php5-compat
|
||||
elif [ .$real_os = .'Ubuntu' ]; then
|
||||
#16.10.x - */yakkety/
|
||||
#16.04.x - */xenial/
|
||||
#14.04.x - */trusty/
|
||||
if [ .$codename = .'trusty' ]; then
|
||||
which add-apt-repository || apt-get install -y software-properties-common
|
||||
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
|
||||
fi
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue