summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2007-07-12 21:33:49 +0000
committerfuzzyray <fuzzyray@gentoo.org>2007-07-12 21:33:49 +0000
commit8e97cb8f8392d34178a4145a528c38875fb5ed35 (patch)
tree9284468481510f0f9335b1198335661262af004c
parentca895567a8d0ad30ef1783f1ffc88d1e95b4d569 (diff)
downloadgentoolkit-8e97cb8f8392d34178a4145a528c38875fb5ed35.tar.gz
Added broken file report at end of revdep-rebuild run
svn path=/; revision=415
-rwxr-xr-xtrunk/src/revdep-rebuild/revdep-rebuild-rewrite15
1 files changed, 15 insertions, 0 deletions
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite
index b565a92..6ee5cb7 100755
--- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite
+++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite
@@ -579,6 +579,7 @@ get_packages() {
if ! grep -qvF '(none)' "$LIST.4_package_owners"; then
ewarn "Found some broken files, but none of them were associated with known packages"
ewarn "Unable to proceed with automatic repairs."
+ ewarn "The broken files are listed in $LIST.4_package_owners"
if [[ $VERBOSE ]]; then
ewarn "The broken files are:"
while read filename junk; do
@@ -757,6 +758,20 @@ elif is_real_merge; then
einfo 'You can re-run revdep-rebuild to verify that all libraries and binaries'
einfo 'are fixed. If some inconsistency remains, it can be orphaned file, deep'
einfo 'dependency, binary package or specially evaluated library.'
+ [[ $KEEP_TEMP ]] || rm $LIST*.?_*
else
einfo 'Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.'
fi
+
+if grep -qF '(none)' "$LIST.4_package_owners"; then
+ ewarn "Found some broken files that weren't associated with known packages"
+ ewarn "The broken files are listed in $LIST.4_package_owners"
+ if [[ $VERBOSE ]]; then
+ ewarn "The broken files are:"
+ while read filename junk; do
+ if [[ ${junk} == *none* ]]; then
+ ewarn " $filename"
+ fi
+ done < "$LIST.4_package_owners"
+ fi
+fi