mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
MultiPHP for DEB8
This commit is contained in:
parent
4eb6fed51f
commit
b625cd51cc
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ if [ "$inst_repo" -eq 1 ]; then
|
||||||
press_enter "=== Press enter to install sury.org repo ==============================================================================="
|
press_enter "=== Press enter to install sury.org repo ==============================================================================="
|
||||||
apt-get -y install apt-transport-https ca-certificates
|
apt-get -y install apt-transport-https ca-certificates
|
||||||
wget -nv -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
wget -nv -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||||
|
if [ $debian_version -eq 8 ]; then
|
||||||
|
sh -c 'echo "deb https://packages.sury.org/php/ jessie main" > /etc/apt/sources.list.d/php.list'
|
||||||
|
fi
|
||||||
if [ $debian_version -eq 9 ]; then
|
if [ $debian_version -eq 9 ]; then
|
||||||
sh -c 'echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/php.list'
|
sh -c 'echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/php.list'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue