diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-18 21:07:21 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-18 21:07:21 +0100 |
commit | 0effcb56236a9b42223f7489d2d363539e694145 (patch) | |
tree | 1d7d7bf76a495971231225c158563c3054c32d9b /src/core/libs/lib-ui-interactive.sh | |
parent | 0b800e6c6e1890fa45de6e506aa7893de58ae73b (diff) |
make package extra info also contain package version
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 2ee3a2c..80758b6 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -751,12 +751,12 @@ If any previous configuration you've done until now (like fancy filesystems) req # build the list of options, sorted primarily by group, then by packagename (this is already). marking where appropriate local pkglist=() needed_pkgs=("${needed_pkgs_fs[@]}") - while read pkgname pkggroup pkgdesc; do + while read pkgname pkgver pkggroup pkgdesc; do mark=OFF if check_is_in "$pkggroup" "${grouplist[@]}" || check_is_in $pkgname "${needed_pkgs[@]}"; then mark=ON fi - pkglist+=("$pkgname" "$pkggroup" $mark "$pkgdesc") + pkglist+=("$pkgname" "$pkggroup" $mark "$pkgname $pkgver: $pkgdesc") done < <(echo "$PACKAGE_INFO" | sort -f -k 2) [ ${#pkglist[@]} -eq 0 ] && show_warning "No packages found" "Sorry. I could not find any packages. maybe your network is not setup correctly, you lost connection, no mirror setup, bad group, ..." && return 1 |