diff options
author | Colin Smith <colin@pfsense.org> | 2005-05-24 00:42:52 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-05-24 00:42:52 +0000 |
commit | abadeb6e8a2b949555b8bab2686807202b9e4eb6 (patch) | |
tree | 63aef7b115bccbda208246c122d530fc9d1793e5 /usr/local/www/pkg_mgr_install.php | |
parent | 2983ae92d6c6ca839078636231ad486173285def (diff) | |
download | pfsense-abadeb6e8a2b949555b8bab2686807202b9e4eb6.zip pfsense-abadeb6e8a2b949555b8bab2686807202b9e4eb6.tar.gz |
Missing '-'.
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index fcc0554..08e45d1 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -281,7 +281,7 @@ foreach ($packages_to_install as $id) { $pkg_installed = false; if(isset($pkg_config['packages']['package'][$id]['skip_install_checks'])) $pkg_installed = true; foreach($is_installed as $is_inst) { - if($is_inst == $pkgent['name'] . $pkgent['version']) { + if($is_inst == $pkgent['name'] . '-' . $pkgent['version']) { $pkg_installed = true; break; } @@ -297,7 +297,7 @@ foreach ($packages_to_install as $id) { if($pkg_installed == false) { exec("ls /var/db/pkg", $is_installed); foreach($is_installed as $is_inst) { - if($is_inst == $pkgent['name'] . $pkgent['version']) { + if($is_inst == $pkgent['name'] . '-' . $pkgent['version']) { $pkg_installed = true; break; } |