summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index f6e0fe5..1d15938 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -207,12 +207,12 @@ pkg_info () {
echo $LOG | grep -m1 'date:' | grep -Eo '[A-Z][a-z]{2}.*'
if ([ -r dependencies ]) {
info "Depends: "
- cat dependencies | tr "\n" " " | sed 's/ /, /g'
+ cat dependencies | tr "\n" " " | sed 's/ /, /g' | sed 's/, $//'
echo
}
if ([ -r tags ]) {
info "Tags: "
- cat tags | tr "\n" " " | sed 's/ /, /g'
+ cat tags | tr "\n" " " | sed 's/ /, /g' | sed 's/, $//'
echo
}
if ([ -d hooks ]) {