diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-10-24 18:50:44 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-10-24 18:50:44 +0200 |
commit | 8dcf225f63881ed95bb861025d2cd83110da7389 (patch) | |
tree | 0ae3e7c31a2bc67d3ddd5d0893c957fef84f3685 /web/lib | |
parent | b30135111a25efeb7758b12a60a1f1d1d4d1d5ed (diff) | |
download | aur-8dcf225f63881ed95bb861025d2cd83110da7389.tar.gz aur-8dcf225f63881ed95bb861025d2cd83110da7389.tar.xz |
Hide optdepend description if not available
Remove the "(unknown)" suffix that used to be shown for optional
dependencies without a description.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index dab4315a..31082415 100644 --- a/web/lib/pkgfuncs.inc.php +++ b/web/lib/pkgfuncs.inc.php @@ -324,7 +324,7 @@ function pkg_depend_link($name, $type, $cond, $arch, $pkg_id) { $name = $tokens[0]; $desc = $tokens[1]; } else { - $desc = '(unknown)'; + $desc = ''; } /* |