summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-12 14:57:16 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-12 14:58:39 +0200
commit13060f7411559208ef05a0cc991989f289033a86 (patch)
tree6bbe4bad76eed3b6e81082f52301f7a32d389d60
parent48c2c8c2689bf6420d7309c62d319a9428c8b31a (diff)
pkg info: Don't show tags (they're not used anywhere and not even documented)
-rwxr-xr-xbin/pkg7
1 files changed, 0 insertions, 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
}