1 |
jpp |
1.1 |
diff -Nur smeserver-yum-2.6.0.old/root/sbin/e-smith/yum_update_dbs smeserver-yum-2.6.0/root/sbin/e-smith/yum_update_dbs |
2 |
jpp |
1.3 |
--- smeserver-yum-2.6.0.old/root/sbin/e-smith/yum_update_dbs 2019-12-06 00:41:44.276000000 -0500 |
3 |
|
|
+++ smeserver-yum-2.6.0/root/sbin/e-smith/yum_update_dbs 2019-12-06 00:42:41.055000000 -0500 |
4 |
|
|
@@ -67,6 +67,8 @@ |
5 |
jpp |
1.1 |
open YUM, "-|", YUM_CMD . "list $list_option" or |
6 |
|
|
die "Couldn't call yum list $list_option\n"; |
7 |
|
|
|
8 |
|
|
+ #strip header, preventing inclusion as package |
9 |
|
|
+ my $header = <YUM>; |
10 |
|
|
while ( <YUM> ) |
11 |
|
|
{ |
12 |
|
|
my ($package, $version, $repo) = split /\s+/; |