diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/pkg_mgr.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr/local/www/pkg_mgr.php b/src/usr/local/www/pkg_mgr.php index c6b5811..f2d1b57 100644 --- a/src/usr/local/www/pkg_mgr.php +++ b/src/usr/local/www/pkg_mgr.php @@ -174,12 +174,9 @@ if(!$pkg_info || !is_array($pkg_info)):?> continue; } - // Get the package basename (because e.g.: sudo is known as pfSense-pkg-sudo) - $basename = str_replace("pfSense-pkg-", "", $index['name']); - // Check to see if it is already installed foreach($config['installedpackages']['package'] as $installedpkg) { - if($installedpkg['name'] == $basename) { + if($installedpkg['name'] == $shortname) { continue(2); } } |