clean up foreign manpages in stage4

This commit is contained in:
Matthew Thode 2016-01-10 15:55:27 -06:00
parent 7c84ec58a6
commit 3ced947518
No known key found for this signature in database
GPG key ID: 64A37BEAAE19A4E8

View file

@ -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 {} \;