Skip to content

Commit

Permalink
fix redis missing on ubuntu 20
Browse files Browse the repository at this point in the history
if apt multiple package , one of them missing , whole list will be skipped.
  • Loading branch information
qtwrk authored Jul 14, 2020
1 parent b0b9605 commit 4f6b252
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cyberpanel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f6b252

Please sign in to comment.