[LON-CAPA-cvs] cvs: loncom /build CHECKRPMS

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 10 Oct 2006 19:27:48 -0000


albertel		Tue Oct 10 15:27:48 2006 EDT

  Modified files:              
    /loncom/build	CHECKRPMS 
  Log:
  - could be just 9
  
  
Index: loncom/build/CHECKRPMS
diff -u loncom/build/CHECKRPMS:1.5 loncom/build/CHECKRPMS:1.6
--- loncom/build/CHECKRPMS:1.5	Thu Oct  5 17:11:25 2006
+++ loncom/build/CHECKRPMS	Tue Oct 10 15:27:48 2006
@@ -80,7 +80,7 @@
     $cmd = 'yum update';
     &prepare_msg($tmpfile,$cmd);
     ($send,$addsubj) = &check_with_yum($tmpfile);
-} elsif ($distro =~ /^(suse|sles)9\.\d$/) {
+} elsif ($distro =~ /^(suse|sles)9\.?\d?$/) {
     $cmd = 'you';
     &prepare_msg($tmpfile,$cmd);
     ($send,$addsubj) = &check_with_you($tmpfile);