From 26994952a4c9efe69c072906da2fde1ead73b21b Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 1 Jul 2015 10:15:29 -0300 Subject: Mute call to 'pkg info -e' used to check if pkg is installed --- etc/inc/pkg-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/pkg-utils.inc') 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 */ -- cgit v1.1