diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-03 10:11:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-03 10:11:30 +0000 |
commit | 77924d8011cf0c20a2519c491d88603fecfad544 (patch) | |
tree | 9234133c66b3d7a508adf8185b7563bac9279a8a /move/make_live_tree_boot | |
parent | e1c6095c058c749432e43b87330f491976711585 (diff) | |
download | drakx-backup-do-not-use-77924d8011cf0c20a2519c491d88603fecfad544.tar drakx-backup-do-not-use-77924d8011cf0c20a2519c491d88603fecfad544.tar.gz drakx-backup-do-not-use-77924d8011cf0c20a2519c491d88603fecfad544.tar.bz2 drakx-backup-do-not-use-77924d8011cf0c20a2519c491d88603fecfad544.tar.xz drakx-backup-do-not-use-77924d8011cf0c20a2519c491d88603fecfad544.zip |
ensure "make" before ./make_live_tree_boot -u doesn't break ./make_live_tree_boot -u
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) { |