From 44b8a3951da23b55321d00c4a8ff1dd001b89786 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 17 Jun 2009 12:44:51 +0200 Subject: pkg: pkg_info: No need to pre-fetch the versions --- bin/pkg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bin/pkg') diff --git a/bin/pkg b/bin/pkg index 5779755..f8cbae1 100755 --- a/bin/pkg +++ b/bin/pkg @@ -771,8 +771,6 @@ function pkg_info { check_valid $1 typeset name=$1 - typeset local_version=$(list_version_local $1) - typeset remote_version=$(list_version_remote $1) typeset repo_type=$(list_type $1) typeset priority priority_name typeset hooks makefile discription state @@ -811,8 +809,8 @@ function pkg_info { show_info 'Package' $name show_info 'State' $state [[ -n $priority ]] && show_info 'Priority' "$priority ($priority_name)" - show_info 'Local Version' $local_version - show_info 'Remote Version' $remote_version + show_info 'Local Version' $(list_version_local $1) + show_info 'Remote Version' $(list_version_remote $1) show_info 'Repository Type' $repo_type show_info 'Repository Size' $size show_info 'Hooks' $hooks -- cgit v1.2.3