From fcf8d0c0246b353f255eb5173cd8cd3748f8da3b Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- check-world | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 check-world (limited to 'check-world') diff --git a/check-world b/check-world new file mode 100755 index 0000000..cc92562 --- /dev/null +++ b/check-world @@ -0,0 +1,11 @@ +#!/bin/sh + +world="/var/lib/portage/world" + +[ -f "${world}" ] || exit + +while read -r line; do + if [ -n "$(qdepends --quiet --query "${line}")" ]; then + echo "${line}" + fi +done <"${world}" -- cgit 1.4.1