Skip to content

Commit 112a79f

Browse files
committed
Fix missing || in condition.
1 parent b4b8f38 commit 112a79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ killall -9 mysqld > /dev/null 2>&1
543543
mv /var/lib/mysql $hst_backups/mysql/mysql_datadir > /dev/null 2>&1
544544
cp -r /etc/mysql/* $hst_backups/mysql > /dev/null 2>&1
545545
mv -f /root/.my.cnf $hst_backups/mysql > /dev/null 2>&1
546-
if [ "$release" = '16.04' ] [ "$release" = '18.04' ]; then
546+
if [ "$release" = '16.04' ] || [ "$release" = '18.04' ]; then
547547
if [ -e '/etc/init.d/mysql' ]; then
548548
mkdir -p /var/lib/mysql > /dev/null 2>&1
549549
chown mysql:mysql /var/lib/mysql

0 commit comments

Comments
 (0)