[LON-CAPA-cvs] cvs: doc /install/linux install.pl

raeburn raeburn at source.lon-capa.org
Tue Aug 9 11:20:45 EDT 2016


raeburn		Tue Aug  9 15:20:45 2016 EDT

  Modified files:              
    /doc/install/linux	install.pl 
  Log:
  - Support Fedora 22, 23 and 24.
  
  
Index: doc/install/linux/install.pl
diff -u doc/install/linux/install.pl:1.36 doc/install/linux/install.pl:1.37
--- doc/install/linux/install.pl:1.36	Thu May  5 03:03:57 2016
+++ doc/install/linux/install.pl	Tue Aug  9 15:20:45 2016
@@ -72,7 +72,7 @@
           &mt('Stopping execution.')."\n";
     exit;
 } else {
-    print LOG '$Id: install.pl,v 1.36 2016/05/05 03:03:57 raeburn Exp $'."\n";
+    print LOG '$Id: install.pl,v 1.37 2016/08/09 15:20:45 raeburn Exp $'."\n";
 }
 
 #
@@ -454,6 +454,9 @@
             $proc_owner = 'mysql';
             $use_systemctl = 1;
         }
+        if ($1 >= 22) {
+            $mysqldaemon ='mariadb';
+        }
     } elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) {
         if ($1 >= 7) {
             $mysqldaemon ='mariadb';
@@ -574,6 +577,9 @@
             $uses_systemctl{'memcached'} = 1;
             $uses_systemctl{'cups'} = 1;
         }
+        if ($version >= 22) {
+            $daemon{'mysql'} = 'mariadb';
+        }
     } elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) {
         my $version = $1;
         if ($version >= 7) {




More information about the LON-CAPA-cvs mailing list