Rename module, better virtualmin check
authorJamie Cameron <jcameron@webmin.com>
Sun, 4 Oct 2009 00:35:33 +0000 (17:35 -0700)
committerJamie Cameron <jcameron@webmin.com>
Sun, 4 Oct 2009 00:35:33 +0000 (17:35 -0700)
package-updates/index.cgi
package-updates/lang/en
package-updates/module.info
package-updates/package-updates-lib.pl

index ce362cf..5f5da08 100755 (executable)
@@ -12,7 +12,7 @@ if ($in{'clear'}) {
 # See if any security updates exist
 $in{'mode'} ||= 'updates';
 if (!defined($in{'all'})) {
-       $in{'all'} = &foreign_check("virtual-server") ? 1 : 0;
+       $in{'all'} = &foreign_available("virtual-server") ? 1 : 0;
        }
 @avail = &list_available(0, $in{'all'});
 ($sec) = grep { $_->{'security'} } @avail;
index e3f2d15..ddfc655 100644 (file)
@@ -1,4 +1,4 @@
-index_title=Package Updates
+index_title=Software Package Updates
 index_name=Package
 index_desc=Description
 index_status=Status
index aeaa7d9..d9cf8e0 100644 (file)
@@ -1,4 +1,4 @@
-desc=Package Updates
+desc=Software Package Updates
 category=system
 depends=software cron mailboxes 1.420
 os_support=redhat-linux debian-linux mandrake-linux/10.2-* solaris
index 8835f55..dadbb12 100644 (file)
@@ -613,7 +613,7 @@ return undef;
 # packages is the only option, or 0 if only virtualmin.
 sub show_all_option
 {
-return !&foreign_check("virtual-server") ? 2 :
+return !&foreign_available("virtual-server") ? 2 :
        $software::update_system eq 'apt' ||
        $software::update_system eq 'yum' ? 1 : 0;
 }