Revision d4fbf5b7
Added by Renato Botelho about 8 years ago
src/etc/inc/pkg-utils.inc | ||
---|---|---|
1202 | 1202 |
return false; |
1203 | 1203 |
} |
1204 | 1204 |
|
1205 |
$info = get_pkg_info($base_pkg, true); |
|
1205 |
$info = get_pkg_info($base_pkg, true, true);
|
|
1206 | 1206 |
|
1207 | 1207 |
$pkg_info = array(); |
1208 | 1208 |
foreach ($info as $item) { |
... | ... | |
1214 | 1214 |
|
1215 | 1215 |
if (empty($pkg_info) || (!$baseonly && ($pkg_info['version'] == |
1216 | 1216 |
$pkg_info['installed_version']))) { |
1217 |
$info = get_pkg_info($meta_pkg, true); |
|
1217 |
$info = get_pkg_info($meta_pkg, true, true);
|
|
1218 | 1218 |
|
1219 | 1219 |
foreach ($info as $item) { |
1220 | 1220 |
if ($item['name'] == $meta_pkg) { |
Also available in: Unified diff
Speedup get_system_pkg_version() considering only installed packages