summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-20 16:11:35 -0200
committerRenato Botelho <renato@netgate.com>2015-10-20 16:19:50 -0200
commitc8cae8e5f7c35de1015f75bf973788b6750f685f (patch)
treebaf39ada8bba17b5b0a74ccc4bc242045837e914
parent8df1877b704f9d5cd788def274ff7ffa5349dc23 (diff)
downloadpfsense-c8cae8e5f7c35de1015f75bf973788b6750f685f.zip
pfsense-c8cae8e5f7c35de1015f75bf973788b6750f685f.tar.gz
Remove WWW: line from pkg desc
-rw-r--r--src/etc/inc/pkg-utils.inc2
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);
}
OpenPOWER on IntegriCloud