summaryrefslogtreecommitdiffstats
path: root/move/make_live_tree_boot
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-03 10:11:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-03 10:11:30 +0000
commit77924d8011cf0c20a2519c491d88603fecfad544 (patch)
tree9234133c66b3d7a508adf8185b7563bac9279a8a /move/make_live_tree_boot
parente1c6095c058c749432e43b87330f491976711585 (diff)
downloaddrakx-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-xmove/make_live_tree_boot4
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) {