Update install.sh

pull/599/head
Mr Chen 11 months ago
parent 26d7aeb401
commit 562ab87771
  1. 3
      plugins/php-apt/install.sh

@ -46,7 +46,8 @@ fi
if [ "$OSNAME" == "ubuntu" ];then
if [ ! -f /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list ];then
find_source=`ls /etc/apt/sources.list.d | grep ondrej-ubuntu-php`
if [ "$find_source" == "" ];then
echo "y" | LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php && apt update -y
fi
fi

Loading…
Cancel
Save