--- doc/install/linux/install.pl 2013/02/27 19:48:53 1.25 +++ doc/install/linux/install.pl 2013/12/11 15:37:57 1.27 @@ -72,7 +72,7 @@ if (!open(LOG,">>loncapa_install.log")) &mt('Stopping execution.')."\n"; exit; } else { - print LOG '$Id: install.pl,v 1.25 2013/02/27 19:48:53 raeburn Exp $'."\n"; + print LOG '$Id: install.pl,v 1.27 2013/12/11 15:37:57 raeburn Exp $'."\n"; } # @@ -505,6 +505,11 @@ sub chkconfig { if ($distro =~ /^(suse|sles)9/) { $daemon{'apache'} = 'apache'; } + if ($distro =~ /^suse(\d+)/) { + if ($1 > 11) { + $uses_systemctl{'apache'} = 1; + } + } } elsif ($distro =~ /^(?:debian|ubuntu)(\d+)/) { my $version = $1; @runlevels = qw/2 3 4 5/; @@ -516,7 +521,7 @@ sub chkconfig { if (($distro =~ /^ubuntu/) && ($version <= 8)) { $daemon{'cups'} = 'cupsys'; } - } elsif ($distro =~ /^(?:fedora)(\d+)/) { + } elsif ($distro =~ /^fedora(\d+)/) { my $version = $1; if ($version >= 15) { $uses_systemctl{'ntp'} = 1;