We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4b8f38 commit 112a79fCopy full SHA for 112a79f
1 file changed
install/hst-install-ubuntu.sh
@@ -543,7 +543,7 @@ killall -9 mysqld > /dev/null 2>&1
543
mv /var/lib/mysql $hst_backups/mysql/mysql_datadir > /dev/null 2>&1
544
cp -r /etc/mysql/* $hst_backups/mysql > /dev/null 2>&1
545
mv -f /root/.my.cnf $hst_backups/mysql > /dev/null 2>&1
546
-if [ "$release" = '16.04' ] [ "$release" = '18.04' ]; then
+if [ "$release" = '16.04' ] || [ "$release" = '18.04' ]; then
547
if [ -e '/etc/init.d/mysql' ]; then
548
mkdir -p /var/lib/mysql > /dev/null 2>&1
549
chown mysql:mysql /var/lib/mysql
0 commit comments