[aur-dev] [PATCH] Hide optdepend description if not available
24 Oct
2015
24 Oct
'15
5 p.m.
Remove the "(unknown)" suffix that used to be shown for optional dependencies without a description. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org> --- web/lib/pkgfuncs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index dab4315..3108241 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 = ''; } /* -- 2.6.2
3346
Age (days ago)
3346
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lukas Fleischer