Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 6:0d9a499e89e9
More tests with regard to the new algorithm
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Thu, 19 Oct 2017 08:54:24 +0200 |
| parents | 53c3500894d2 |
| children | 2712d249c371 |
| files | bin/check-ports |
| diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/check-ports Mon Oct 16 09:50:55 2017 +0200 +++ b/bin/check-ports Thu Oct 19 08:54:24 2017 +0200 @@ -16,7 +16,7 @@ } get_local_index_versions() { - local_index_versions="$(pkg version -I -v)" + local_index_versions=$(pkg version -I -v) } installed_data="$(pkg query '%n %v %R' $installed_packages)" @@ -24,3 +24,11 @@ get_remote_repo_versions ${LOCAL_REPO} get_remote_repo_versions ${FREEBSD_REPO} get_local_index_versions + +while read lfqp llabel ldescr ; do + _installed_name=${lfqp%-*} + _installed_version=${lfqp##*-} + echo $lfqp ${_installed_name} ${_installed_version} ${llabel} +done <<EOF856661111299999 +${local_index_versions} +EOF856661111299999
