Update install.sh
This commit is contained in:
parent
26d7aeb401
commit
562ab87771
|
|
@ -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…
Reference in New Issue