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 9f6e025 commit 7333100Copy full SHA for 7333100
bin/v-change-sys-pma
@@ -39,7 +39,7 @@ if [ -f /etc/nginx/conf.d/phpmyadmin.inc ]; then
39
fi
40
41
# Check if alias is different for apache2
42
-if [ -z "$apache_pma" ]; then
+if [ ! -z "$apache_pma" ]; then
43
if [ ! "$apache_pma" = "$PMA" ]; then
44
# Replace pma alias in config files.
45
sed -i "s|Alias $apache_pma|Alias $PMA|" /etc/apache2/conf.d/phpmyadmin.conf
@@ -50,7 +50,7 @@ if [ -z "$apache_pma" ]; then
50
51
52
# Check if alias is different for nginx
53
-if [ -z "$nginx_pma" ]; then
+if [ ! -z "$nginx_pma" ]; then
54
if [ ! "$nginx_pma" = "$PMA" ]; then
55
56
sed -i "s|$nginx_pma|$PMA|" /etc/nginx/conf.d/phpmyadmin.inc
0 commit comments