diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-17 12:44:51 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-17 12:44:51 +0200 |
commit | 44b8a3951da23b55321d00c4a8ff1dd001b89786 (patch) | |
tree | f05bce9865f19d615310a21d3ec653a61a55e7a0 /bin | |
parent | 6e4e8e7edf599ca2e25a81df4f3a0138d703fa36 (diff) |
pkg: pkg_info: No need to pre-fetch the versions
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |