diff options
Diffstat (limited to 'usr/local/www/pkg_mgr.php')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index b81299d..3542742 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -34,7 +34,7 @@ ##|*MATCH=pkg_mgr.php* ##|-PRIV - +require_once("globals.inc"); require_once("guiconfig.inc"); require_once("pkg-utils.inc"); @@ -122,6 +122,9 @@ include("head.inc"); $index = &$pkg_info[$key]; if(in_array($index['name'], $instpkgs)) continue; + if($g['platform'] == "nanobsd") + if($index['noembedded']) + continue; $dash = strpos($index['required_version'], "-"); $index['major_version'] = substr($index['required_version'], 0, $dash); if ($version <> "HEAD" && |