blob: 9baacbf5100d1b31153e3f9e595d225954b717d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
source "/etc/make.conf"
installed=$(find /var/db/pkg -maxdepth 2 -mindepth 2 -printf "%P\n" | xargs qatom | awk '{print $1 "/" $2}')
for package in ${installed}
do
found=0
for overlay in "/usr/portage/" ${PORTDIR_OVERLAY}
do
[[ -d "${overlay}/${package}" ]] && found=1
done
[[ "${found}" -eq 0 ]] && echo "${package}"
done
|