From 6874bc12f7b9ac0478d2778227939fa7a26f3443 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Wed, 8 Jul 2015 06:32:27 -0400 Subject: scripts/cycle.1.py: clean out zoneinfo. --- scripts/cycle.1.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/cycle.1.py b/scripts/cycle.1.py index 92e8881..1de575f 100644 --- a/scripts/cycle.1.py +++ b/scripts/cycle.1.py @@ -45,9 +45,6 @@ shutil.copy('/etc/portage/make.conf', '/tmp/stage1root/etc/portage') cmd = 'emerge -bkNu1q %s' % get_blist() Execute(cmd, timeout=None, extra_env=emerge_env) -cmd = 'find /tmp/stage1root/usr/share -type d -iname info -exec rm -rf {} +' -Execute(cmd, timeout=None, extra_env=emerge_env) -cmd = 'find /tmp/stage1root/usr/share -type d -iname doc -exec rm -rf {} +' -Execute(cmd, timeout=None, extra_env=emerge_env) -cmd = 'find /tmp/stage1root/usr/share -type d -iname man -exec rm -rf {} +' -Execute(cmd, timeout=None, extra_env=emerge_env) +for d in ['info', 'doc', 'man', 'zoneinfo']: + cmd = 'find /tmp/stage1root/usr/share -type d -iname %s -exec rm -rf {} +' % d + Execute(cmd, timeout=None, extra_env=emerge_env) -- cgit v1.2.3-65-gdbad