Update v-commander

This commit is contained in:
myvesta 2023-03-02 15:29:26 +01:00 committed by GitHub
commit 6db5f28ae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -391,8 +391,8 @@ do
if [ "$answer" = 'm' ] || [ "$answer" = 'M' ]; then if [ "$answer" = 'm' ] || [ "$answer" = 'M' ]; then
echo "=============================" echo "============================="
echo "== installing php-memcache modules" echo "== installing php-memcache modules"
apt-get install -y $(systemctl --full --type service --all | grep "php...-fpm" | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcache ") apt-get install -y $(systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcache ")
apt-get install -y $(systemctl --full --type service --all | grep "php...-fpm" | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcached ") apt-get install -y $(systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcached ")
fi fi
if [ "$answer" = 'd' ] || [ "$answer" = 'D' ]; then if [ "$answer" = 'd' ] || [ "$answer" = 'D' ]; then