commit:     3ced9475183d997366cbeb98d82fc96e6d9b9dd4
Author:     Matthew Thode <mthode <AT> mthode <DOT> org>
AuthorDate: Sun Jan 10 21:55:27 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 21:55:27 2016 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=3ced9475

clean up foreign manpages in stage4

 releases/weekly/scripts/cloud-prep.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/releases/weekly/scripts/cloud-prep.sh 
b/releases/weekly/scripts/cloud-prep.sh
index 116e64d..9bd5eb5 100644
--- a/releases/weekly/scripts/cloud-prep.sh
+++ b/releases/weekly/scripts/cloud-prep.sh
@@ -69,3 +69,5 @@ sed -i '/^USE=\"\${USE}\ \ build\"$/d' /etc/portage/make.conf
 passwd -d root
 passwd -l root
 for i in $(find /var/log -type f); do truncate -s 0 $i; done
+# remove foreign manpages
+find /usr/share/man/ -mindepth 1  -maxdepth 1 -path "/usr/share/man/man*" 
-prune -o -exec rm -rf {} \;

Reply via email to