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>
This commit is contained in:
Lukas Fleischer 2015-10-24 18:50:44 +02:00
parent b30135111a
commit 8dcf225f63

View file

@ -324,7 +324,7 @@ function pkg_depend_link($name, $type, $cond, $arch, $pkg_id) {
$name = $tokens[0]; $name = $tokens[0];
$desc = $tokens[1]; $desc = $tokens[1];
} else { } else {
$desc = '(unknown)'; $desc = '';
} }
/* /*