From 13060f7411559208ef05a0cc991989f289033a86 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 Apr 2009 14:57:16 +0200 Subject: pkg info: Don't show tags (they're not used anywhere and not even documented) --- bin/pkg | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bin/pkg b/bin/pkg index 393fcb1..2b4c673 100755 --- a/bin/pkg +++ b/bin/pkg @@ -778,7 +778,6 @@ function pkg_info { typeset remote_version=$(list_remote_version $1) typeset repo_type=$(list_type $1) typeset priority priority_name - typeset -a tags typeset hooks makefile discription state if [[ -d $1 ]] { cd $1 @@ -786,11 +785,6 @@ function pkg_info { priority=$(cat priority) priority_name=$(real_priority $priority) } - if [[ -r tags ]] { - tags=($(cat tags)) - tags=$tags - tags=${tags//[[:space:]]/, } - } if [[ -d hooks ]] { hooks=$(ls -m hooks) } @@ -824,7 +818,6 @@ function pkg_info { show_info 'Remote Version' $remote_version show_info 'Repository Type' $repo_type show_info 'Repository Size' $size - show_info 'Tags' $tags show_info 'Hooks' $hooks show_info 'Description' $description } -- cgit v1.2.3