Diff for /loncom/build/CHECKRPMS between versions 1.17 and 1.18

version 1.17, 2017/04/09 14:54:02 version 1.18, 2019/07/06 19:20:36
Line 42  to LON-CAPA systems. distprobe is used t Line 42  to LON-CAPA systems. distprobe is used t
   
 The utility which is used to complete the check depends on the distro:  The utility which is used to complete the check depends on the distro:
   
 fedora, rhel >= 5, centos, scientific - yum  fedora, rhel >= 5, centos, scientific, oracle linux - yum
 fedora >= 22 - dnf  fedora >= 22 - dnf
 suse 9.X and sles9 - you  suse 9.X and sles9 - you
 suse 10.2,10.3,11.1,11.2,11.3,11.4,sles11 - zypper   suse 10.2,10.3,11.1,11.2,11.3,11.4,sles11 - zypper 
Line 139  if ($distro =~ /^fedora(\d+)$/) { Line 139  if ($distro =~ /^fedora(\d+)$/) {
         &prepare_msg($tmpfile,$cmd);          &prepare_msg($tmpfile,$cmd);
         ($send,$addsubj) = &check_with_yum($tmpfile);          ($send,$addsubj) = &check_with_yum($tmpfile);
     }      }
 } elsif ($distro =~ /^centos\d+$/) {  } elsif ($distro =~ /^(centos|scientific|oracle)\d+$/) {
     $cmd = 'yum update';  
     &prepare_msg($tmpfile,$cmd);  
     ($send,$addsubj) = &check_with_yum($tmpfile);  
 } elsif ($distro =~ /^scientific\d+$/) {  
     $cmd = 'yum update';      $cmd = 'yum update';
     &prepare_msg($tmpfile,$cmd);      &prepare_msg($tmpfile,$cmd);
     ($send,$addsubj) = &check_with_yum($tmpfile);      ($send,$addsubj) = &check_with_yum($tmpfile);

Removed from v.1.17  
changed lines
  Added in v.1.18


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>