[aur-dev] [PATCH] Hide optdepend description if not available
Lukas Fleischer
lfleischer at archlinux.org
Sat Oct 24 17:00:41 UTC 2015
Remove the "(unknown)" suffix that used to be shown for optional
dependencies without a description.
Signed-off-by: Lukas Fleischer <lfleischer at 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
More information about the aur-dev
mailing list