summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-10 12:08:50 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-10 12:08:50 -0700
commit4faf6bc8c15124ea2f8bfb7b7c6212762b511b77 (patch)
treec8f5f6b51b41f215f51311716739871adc3493fc
parentbbcc14fc0f5f4c4af95c1e74792105f1b91437fc (diff)
downloadportage-2.2_rc79.tar.gz
portage-2.2_rc79.tar.bz2
portage-2.2_rc79.zip
Bug #273282 - Make install_qa_check() eqawarn about installation intov2.2_rc79
these deprecated directories: etc/app-defaults usr/man usr/info usr/X11R6 usr/doc usr/locale
-rwxr-xr-xbin/misc-functions.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 38da2ad81..36be6a986 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -144,7 +144,7 @@ prepcompress() {
}
install_qa_check() {
- local f
+ local f x
cd "${D}" || die "cd failed"
@@ -154,6 +154,17 @@ install_qa_check() {
ecompressdir --dequeue
ecompress --dequeue
+ f=
+ for x in etc/app-defaults usr/man usr/info usr/X11R6 usr/doc usr/locale ; do
+ [[ -d $D/$x ]] && f+=" $x\n"
+ done
+
+ if [[ -n $f ]] ; then
+ eqawarn "QA Notice: This ebuild installs into the following deprecated directories:"
+ eqawarn
+ eqawarn "$f"
+ fi
+
# Now we look for all world writable files.
local i
for i in $(find "${D}/" -type f -perm -2); do