From 4f6b252026c2c7e33dd8b55e22a14a8488477595 Mon Sep 17 00:00:00 2001 From: qtwrk Date: Wed, 15 Jul 2020 00:31:14 +0200 Subject: [PATCH] fix redis missing on ubuntu 20 if apt multiple package , one of them missing , whole list will be skipped. --- cyberpanel.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index f795a2c44..54b7a96e5 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -506,7 +506,12 @@ if [[ $SERVER_OS == "CentOS" ]] ; then yum install -y lsphp74-redis lsphp73-redis lsphp72-redis lsphp71-redis lsphp70-redis lsphp56-redis lsphp55-redis lsphp54-redis redis fi if [[ $SERVER_OS == "Ubuntu" ]] ; then - DEBIAN_FRONTEND=noninteractive apt install -y lsphp74-redis lsphp73-redis lsphp72-redis lsphp71-redis lsphp70-redis redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp74-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp73-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp72-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp71-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp70-redis + DEBIAN_FRONTEND=noninteractive apt install -y redis fi if ifconfig -a | grep inet6 ; then