Skip to content

Commit 75e6647

Browse files
committed
Adjust version check for 18.04.
1 parent 0649e74 commit 75e6647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,10 +1051,10 @@ if [ "$mysql" = 'yes' ]; then
10511051

10521052
# Configuring MySQL/MariaDB
10531053
cp -f $hestiacp/mysql/$mycnf /etc/mysql/my.cnf
1054-
if [ "$release" != '16.04' ]; then
1054+
if [ "$release" = '14.04' ]; then
10551055
mysql_install_db
10561056
fi
1057-
if [ "$release" == '18.04' ]; then
1057+
if [ "$release" = '16.04' ] || [ "$release" = '18.04' ]; then
10581058
mkdir /var/lib/mysql
10591059
chown mysql:mysql /var/lib/mysql
10601060
mysqld --initialize-insecure

0 commit comments

Comments
 (0)