Skip to content
Permalink
Browse files
fix redis missing on ubuntu 20
if apt multiple package , one of them missing , whole list will be skipped.
  • Loading branch information
qtwrk committed Jul 14, 2020
1 parent b0b9605 commit 4f6b252026c2c7e33dd8b55e22a14a8488477595
Showing 1 changed file with 6 additions and 1 deletion.
@@ -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

0 comments on commit 4f6b252

Please sign in to comment.