Fixes in php for arch
This commit is contained in:
parent
c7d3f1b1ad
commit
92ae8e7d36
2 changed files with 17 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue