Skip to content

Commit df18535

Browse files
committed
Fix error in upgrade script
1 parent 9445ce1 commit df18535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/versions/1.6.0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fi
9797

9898
if [ -d /etc/phpmyadmin/conf.d ]; then
9999
for file in /etc/phpmyadmin/conf.d/*; do
100-
if [ -z $(cat $file | grep 'information_schema') ]; then
100+
if [ -z "$(grep -i 'information_schema' $file)" ]; then
101101
echo "[ * ] Update phpMyAdmin server configuration"
102102
echo "\$cfg['Servers'][\$i]['hide_db'] = 'information_schema';" >> $file
103103
fi

0 commit comments

Comments
 (0)