Revision e87ea36d
Added by Renato Botelho about 7 years ago
src/etc/inc/pkg-utils.inc | ||
---|---|---|
342 | 342 |
|
343 | 343 |
if (is_array($pkgs)) { |
344 | 344 |
$pkg_filter = $pkgs; |
345 |
} elseif ($pkgs != 'all') { |
|
346 |
return array(); |
|
345 |
$pkgs = $g['pkg_prefix'] . '*'; |
|
346 |
} elseif ($pkgs == 'all') { |
|
347 |
$pkgs = $g['pkg_prefix'] . '*'; |
|
347 | 348 |
} |
348 |
$pkgs = $g['pkg_prefix'] . '*'; |
|
349 |
|
|
349 | 350 |
|
350 | 351 |
if ($installed_pkgs_only && !is_pkg_installed($pkgs)) { |
351 | 352 |
/* |
Also available in: Unified diff
Revert "Parameter must be an array or 'all'"
Fix #8715 respecting get_pkg_info parameter when it doesn't start with
pfSense-pkg
This reverts commit 70a7c029fbe61935da7474358e7359bb9dc1bcc3.