From 749c9a4da350b6bf1796cf9c263276ce7ce9e252 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 4 Nov 2003 13:44:42 +0000 Subject: removing the slow fallback (better handled by hand) --- move/make_live_tree_boot | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'move/make_live_tree_boot') diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot index 89ce3919b..3b97318b3 100755 --- a/move/make_live_tree_boot +++ b/move/make_live_tree_boot @@ -74,19 +74,6 @@ sub remove_light_tree { rmdir($_) foreach reverse(chomp_(`find $light_prefix -type d`)); } - if (-e $light_prefix) { - print "still there:\n"; - system('find', $light_prefix); - - foreach my $dest (chomp_(`find $prefix -type l`)) { - my $orig = readlink($dest) or next; - $orig =~ s!/image_$live_name/!$light_prefix/! or next; - - unlink $dest or die "removing $dest failed: $!\n"; - rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; - } - rmdir($_) foreach reverse(chomp_(`find $light_prefix -type d`)); - } if (-e $light_prefix) { print "still there:\n"; system('find', $light_prefix); -- cgit v1.2.1