diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-03-21 23:51:42 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-03-21 23:51:42 +0545 |
commit | 44988c5e22cbc803273d133fffe35dd324f8862a (patch) | |
tree | b3880215f03c7198116b980a5573863becf4a7d0 /etc/inc/pkg-utils.inc | |
parent | 8059acb56ef8d3fc39b7cadd1f0682f0795e85f1 (diff) | |
download | pfsense-44988c5e22cbc803273d133fffe35dd324f8862a.zip pfsense-44988c5e22cbc803273d133fffe35dd324f8862a.tar.gz |
Remove an extra "-" left there by accident.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-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 6dff286..09ea66b 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -816,7 +816,7 @@ function install_package_xml($pkg) { // e.g. "squidguard-1.4_4-i386" so feed lowercase to pbi_info below. // Also add the "-" so that examples like "squid-" do not match "squidguard-". $pkg_name_for_pbi_match = strtolower($pkg) . "-"; - exec("/usr/local/sbin/pbi_info | grep {$pkg_name_for_pbi_match}- | xargs /usr/local/sbin/pbi_info | awk '/Prefix/ {print $2}'",$pbidirarray); + exec("/usr/local/sbin/pbi_info | grep {$pkg_name_for_pbi_match} | xargs /usr/local/sbin/pbi_info | awk '/Prefix/ {print $2}'",$pbidirarray); $pbidir0 = $pbidirarray[0]; exec("find /usr/local/etc/ -name *.conf | grep {$pkg}",$files); foreach($files as $f) { |