changeset 50:f4352f7b5c86

When running in "-s"-mode: extra intelligence when the repo is LocalBSDPorts
author Franz Glasner <hg@dom66.de>
date Thu, 23 Nov 2017 09:20:39 +0100
parents ffa6a61e77e8
children 9e131a355fbe
files bin/check-ports
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/check-ports	Thu Nov 23 09:12:33 2017 +0100
+++ b/bin/check-ports	Thu Nov 23 09:20:39 2017 +0100
@@ -195,7 +195,9 @@
 		    _print_detail=1
 		    ;;
 		"${LOCALBSDPORTS_REPO}")
-		    _print_detail=1
+		    if [ "${llabel}" != '=' -o "${remote_FreeBSD_label}" != '>' -o "${remote_LocalRepo_label}" != '?' -o "${remote_LocalBSDPorts_label}" = '?' -o "${remote_LocalBSDPorts_label}" = '<' ]; then
+                        _print_detail=1
+		    fi
 		    ;;
 		"${PORTS_DIRECT_INSTALLED_REPO}")
 		    _print_detail=1