summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-27 11:10:40 +0000
committerErmal <eri@pfsense.org>2010-04-27 11:10:40 +0000
commitdf5da531465d7ed8eb5400c10c12a2c40e21c670 (patch)
treefaad95d25e335e29717f0cd92a4a65107e8be38b /etc/inc/pkg-utils.inc
parentb7729cee83698e320032c1b58627f4cda97c9b85 (diff)
downloadpfsense-df5da531465d7ed8eb5400c10c12a2c40e21c670.zip
pfsense-df5da531465d7ed8eb5400c10c12a2c40e21c670.tar.gz
Missed curly.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 03fd780..f8c187c 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -276,7 +276,7 @@ function get_pkg_depends($pkg_name, $filetype = ".xml", $format = "files", $retu
function uninstall_package_from_name($pkg_name) {
global $config;
$id = get_pkg_id($pkg_name);
- if ($id >= 0)
+ if ($id >= 0) {
$pkg_depends =& $config['installedpackages']['package'][$id]['depends_on_package'];
delete_package($pkg_depends[0], $pkg_name);
if (is_array($pkg_depends)) {
OpenPOWER on IntegriCloud