Fixes in php for arch

This commit is contained in:
Antonio de la Rosa 2024-02-09 21:04:37 +01:00
parent c7d3f1b1ad
commit 92ae8e7d36
2 changed files with 17 additions and 7 deletions

View file

@ -226,7 +226,8 @@ elif [ "$DISTRO" = 'rocky' ] || [ "$DISTRO" = 'fedora' ]; then
fi
else
sudo pacman -Syu --noconfirm
sudo pacman -S --needed --noconfirm php-legacy php-legacy-gd php-legacy-fpm php-legacy-sodium composer mariadb
if [ $? -eq 0 ]; then
@ -235,7 +236,7 @@ else
else
echo '{"error": 0, "status": 0, "progress": 100, "no_progress":0, "message": "Cannot install php legacy in arch..."}'
echo '{"error": 1, "status": 1, "progress": 100, "no_progress":0, "message": "Cannot install php legacy in arch..."}'
exit;