diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-10-06 10:01:00 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-11-22 09:38:32 +0100 |
commit | 07d89441019f7f1308b4530a6b0a697325861d4e (patch) | |
tree | 42a1dc0feff3f1dd58de7ec02cdafddc98ed369b | |
parent | 33af3abda8dcb4f259ec6bbbc8d40bc997d9e4d4 (diff) | |
download | dotfiles-07d89441019f7f1308b4530a6b0a697325861d4e.tar.gz dotfiles-07d89441019f7f1308b4530a6b0a697325861d4e.tar.bz2 dotfiles-07d89441019f7f1308b4530a6b0a697325861d4e.zip |
Drop find_nonexistent_installed_packages.sh (eix '-t*!' provides same)
-rwxr-xr-x | .scripts/find_nonexistent_installed_packages.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/.scripts/find_nonexistent_installed_packages.sh b/.scripts/find_nonexistent_installed_packages.sh deleted file mode 100755 index a75f687..0000000 --- a/.scripts/find_nonexistent_installed_packages.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -source /etc/make.conf -installed=$(find "`portageq vdb_path`" -maxdepth 2 -mindepth 2 -printf "%P\n" | xargs qatom | awk '{print $1 "/" $2}') - -portdirs="$(portageq portdir) $(portageq portdir_overlay)" - -for package in ${installed} -do - for overlay in ${portdirs} - do - # as soon as we find a package => got to next package in outer loop - [[ -d "${overlay}/${package}" ]] && continue 2; - done - # this is reached ONLY if the package was NOT found in the tree - echo "${package}" -done |