[LON-CAPA-cvs] cvs: loncom /build CHECKRPMS
raeburn
lon-capa-cvs@mail.lon-capa.org
Wed, 04 Oct 2006 17:56:45 -0000
raeburn Wed Oct 4 13:56:45 2006 EDT
Modified files:
/loncom/build CHECKRPMS
Log:
Filtering out more unwanted rug output for sles10/suse10.1 updates.
Index: loncom/build/CHECKRPMS
diff -u loncom/build/CHECKRPMS:1.1 loncom/build/CHECKRPMS:1.2
--- loncom/build/CHECKRPMS:1.1 Mon Oct 2 20:34:59 2006
+++ loncom/build/CHECKRPMS Wed Oct 4 13:56:44 2006
@@ -218,10 +218,19 @@
chomp(@output);
my @clean_output;
foreach my $line (@output) {
- if ($line eq 'Waking up ZMD...' || $line eq 'Done') {
+ if ($line eq 'Waking up ZMD...') {
next;
- }
- if ($line eq 'No updates are available.') {
+ } elsif ($line eq 'Done') {
+ next;
+ } elsif ($line eq '') {
+ next;
+ } elsif ($line eq 'The following packages will be installed:') {
+ next;
+ } elsif ($line eq 'Resolving Dependencies...') {
+ next;
+ } elsif ($line eq 'Transaction...') {
+ last;
+ } elsif ($line eq 'No updates are available.') {
last;
} else {
push(@clean_output,$line);