diff -Nur -x '*.orig' -x '*.rej' smeserver-yum-1.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum
--- smeserver-yum-1.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum 2008-01-09 16:44:20.000000000 +1100
+++ mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum 2008-01-09 13:24:50.000000000 +1100
@@ -66,6 +66,19 @@
+ DESC_UPTODATE
+
+
+ This system is up to date.
+
+ All updates have been installed.
+
+ ]]>
+
+
+
+
DESC_UPDATES_AVAILABLE
+ DESC_UPTODATE
+
+
+
diff -Nur -x '*.orig' -x '*.rej' smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm mezzanine_patched_smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm
--- smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm 2008-01-09 16:44:20.000000000 +1100
+++ mezzanine_patched_smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm 2008-01-09 16:39:44.000000000 +1100
@@ -114,6 +114,20 @@
return defined $value ? $value : $default;
}
+sub is_empty
+{
+ my ($fm, $yumdb) = @_;
+
+ my $groups = $dbs{$yumdb}->get_all_by_prop(type => 'group') || 'none';
+ my $packages = $dbs{$yumdb}->get_all_by_prop(type => 'package') || 'none';
+
+ #Show no updates if both = none
+ return 1 if ($packages eq $groups);
+
+ #else return here
+ return;
+}
+
sub non_empty
{
my ($fm, $yumdb, $type) = @_;