diff options
author | Renato Botelho <renato@netgate.com> | 2015-10-20 16:11:35 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-10-20 16:19:50 -0200 |
commit | c8cae8e5f7c35de1015f75bf973788b6750f685f (patch) | |
tree | baf39ada8bba17b5b0a74ccc4bc242045837e914 /src | |
parent | 8df1877b704f9d5cd788def274ff7ffa5349dc23 (diff) | |
download | pfsense-c8cae8e5f7c35de1015f75bf973788b6750f685f.zip pfsense-c8cae8e5f7c35de1015f75bf973788b6750f685f.tar.gz |
Remove WWW: line from pkg desc
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/pkg-utils.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/inc/pkg-utils.inc b/src/etc/inc/pkg-utils.inc index 147d550..ce01fb6 100644 --- a/src/etc/inc/pkg-utils.inc +++ b/src/etc/inc/pkg-utils.inc @@ -424,6 +424,8 @@ function get_pkg_info($pkgs = 'all', $info = 'all') { continue; } + $pkg_info['desc'] = preg_replace('/\n+WWW:.*$/', '', $pkg_info['desc']); + $result[] = $pkg_info; unset($pkg_info); } |