diff options
Diffstat (limited to 'move/make_live_tree_boot')
-rwxr-xr-x | move/make_live_tree_boot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot index 20518bfdc..55cffca66 100755 --- a/move/make_live_tree_boot +++ b/move/make_live_tree_boot @@ -44,6 +44,10 @@ sub remove_light_tree { rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; } } + system("rm -rf $light_prefix/usr/bin/stage2/*.pm"); + system("rm -rf $light_prefix/usr/lib/libDrakX/*.pm"); + system("rm -rf $light_prefix/usr/share/langs/*.png"); + rmdir($_) foreach reverse(chomp_(`find $light_prefix -type d`)); if (-e $light_prefix) { |