--- doc/install/linux/install.pl 2016/08/25 17:39:04 1.38 +++ doc/install/linux/install.pl 2017/03/29 21:00:44 1.40 @@ -72,7 +72,7 @@ if (!open(LOG,">>loncapa_install.log")) &mt('Stopping execution.')."\n"; exit; } else { - print LOG '$Id: install.pl,v 1.38 2016/08/25 17:39:04 raeburn Exp $'."\n"; + print LOG '$Id: install.pl,v 1.40 2017/03/29 21:00:44 raeburn Exp $'."\n"; } # @@ -450,11 +450,14 @@ sub check_mysql_running { } } elsif ($distro =~ /^fedora(\d+)/) { if ($1 >= 16) { + if ($1 >= 19) { + $mysqldaemon ='mariadb'; + } $process = 'mysqld'; $proc_owner = 'mysql'; $use_systemctl = 1; } - if ($1 >= 22) { + if ($1 >= 19) { $mysqldaemon ='mariadb'; } } elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) { @@ -577,7 +580,7 @@ sub chkconfig { $uses_systemctl{'memcached'} = 1; $uses_systemctl{'cups'} = 1; } - if ($version >= 22) { + if ($version >= 19) { $daemon{'mysql'} = 'mariadb'; } } elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) {