We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee09ee commit ad032adCopy full SHA for ad032ad
static/wordpress_update.sh
@@ -65,7 +65,7 @@ apt dist-upgrade -y
65
print_text_in_color "$ICyan" "Trying to upgrade the Redis PECL extenstion..."
66
if ! pecl list | grep redis >/dev/null 2>&1
67
then
68
- if dpkg -l | grep php"$PHPVER" > /dev/null 2>&1
+ if is_this_installed php"$PHPVER"
69
70
install_if_not php"$PHPVER"-dev
71
else
@@ -85,7 +85,7 @@ then
85
fi
86
elif pecl list | grep redis >/dev/null 2>&1
87
88
89
90
91
@@ -104,7 +104,7 @@ then
104
105
106
# Upgrade APCu and igbinary
107
-if dpkg -l | grep php"$PHPVER"-dev > /dev/null 2>&1
+if is_this_installed php"$PHPVER"
108
109
if [ -f "$PHP_INI" ]
110
0 commit comments