--- doc/install/linux/install.pl 2024/08/01 12:57:23 1.45.2.22 +++ doc/install/linux/install.pl 2024/08/05 13:42:44 1.45.2.23 @@ -76,7 +76,7 @@ if (!open(LOG,">>loncapa_install.log")) &mt('Stopping execution.')."\n"; exit; } else { - print LOG '$Id: install.pl,v 1.45.2.22 2024/08/01 12:57:23 raeburn Exp $'."\n"; + print LOG '$Id: install.pl,v 1.45.2.23 2024/08/05 13:42:44 raeburn Exp $'."\n"; } # @@ -645,7 +645,7 @@ sub check_mysql_running { $proc_owner = 'mysql'; $process = 'mysqld'; } - if ($1 >= 15) { + if ($1 >= 12) { $mysqldaemon ='mariadb'; } } elsif ($distro =~ /^suse(\d+)/) { @@ -731,9 +731,15 @@ sub chkconfig { $uses_systemctl{'ntp'} = 1; $uses_systemctl{'cups'} = 1; $uses_systemctl{'memcached'} = 1; - if (($name eq 'sles') && ($num >= 15)) { - $daemon{'ntp'} = 'chronyd'; - $daemon{'mysql'} = 'mariadb'; + if ($name eq 'sles') { + if ($num >= 12) { + $daemon{'mysql'} = 'mariadb'; + } + if ($num >= 15) { + $daemon{'ntp'} = 'chronyd'; + } else { + $daemon{'ntp'} = 'ntpd'; + } } else { $daemon{'ntp'} = 'ntpd'; } @@ -763,7 +769,7 @@ sub chkconfig { (($distro =~ /^debian/) && ($version >= 10))) { $daemon{'ntp'} = 'chrony'; } - if (($distro =~ /^debian/) && ($version >= 11)) { + if (($distro =~ /^debian/) && ($version >= 10)) { $daemon{'mysql'} = 'mariadb'; } } elsif ($distro =~ /^fedora(\d+)/) {