diff options
author | Renato Botelho <renato@netgate.com> | 2015-07-01 10:15:29 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-07-01 10:15:29 -0300 |
commit | 26994952a4c9efe69c072906da2fde1ead73b21b (patch) | |
tree | 8779948750077d1caee28070ea71a68a93e12ad1 | |
parent | 6fd37d04790e878c43298b1c7b2c5e3c056e0a58 (diff) | |
download | pfsense-26994952a4c9efe69c072906da2fde1ead73b21b.zip pfsense-26994952a4c9efe69c072906da2fde1ead73b21b.tar.gz |
Mute call to 'pkg info -e' used to check if pkg is installed
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index df6fe89..fd886d0 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -220,7 +220,7 @@ function is_pkg_installed($pkg_name) { pkg_remove_prefix($pkg_name); - return pkg_call("info -e " . $g['pkg_prefix'] . $pkg_name); + return pkg_call("info -e " . $g['pkg_prefix'] . $pkg_name, true); } /* Install package, $pkg_name should not contain prefix */ |