summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_installed.php
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-05-31 19:47:54 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-05-31 19:47:54 -0300
commite83a9ff71c75d0932ff9cc20e6ef9813ea519664 (patch)
treeb41a2bbd6ed0cf57cb09c0db0cda6e96e5f6df8e /usr/local/www/pkg_mgr_installed.php
parent53fde3ce113ca65332b8735a925b676c2eeeffbd (diff)
downloadpfsense-e83a9ff71c75d0932ff9cc20e6ef9813ea519664.zip
pfsense-e83a9ff71c75d0932ff9cc20e6ef9813ea519664.tar.gz
Show current/updated repo package description instead of local/cached description.
Diffstat (limited to 'usr/local/www/pkg_mgr_installed.php')
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index 0905701..46a095b 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -2,7 +2,7 @@
/* $Id$ */
/*
pkg_mgr.php
- Copyright (C) 2004-2010 Scott Ullrich <sullrich@gmail.com>
+ Copyright (C) 2004-2012 Scott Ullrich <sullrich@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -63,7 +63,7 @@ if(is_array($config['installedpackages']['package'])) {
foreach($config['installedpackages']['package'] as $instpkg) {
$tocheck[] = $instpkg['name'];
}
- $currentvers = get_pkg_info($tocheck, array('version', 'xmlver', 'pkginfolink'));
+ $currentvers = get_pkg_info($tocheck, array('version', 'xmlver', 'pkginfolink','descr'));
}
$pgtitle = array(gettext("System"),gettext("Package Manager"));
@@ -163,7 +163,7 @@ include("head.inc");
<?=$pkgver;?>
</td>
<td class="listbg">
- <?=$pkg['descr'];?>
+ <?=$currentvers[$pkg['name']]['descr'];?>
</td>
<td valign="middle" class="list" nowrap>
<a onclick="return confirm('<?=gettext("Do you really want to remove this package?"); ?>')" href="pkg_mgr_install.php?mode=delete&pkg=<?= $pkg['name']; ?>">
OpenPOWER on IntegriCloud