summaryrefslogtreecommitdiffstats
path: root/move/make_live_tree_boot
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-03 10:08:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-03 10:08:27 +0000
commite1c6095c058c749432e43b87330f491976711585 (patch)
tree8939d76080cf71becdd2dfff78c5643a8802901e /move/make_live_tree_boot
parent4125fe431ee17c41f05e3154263b0bb197615578 (diff)
downloaddrakx-backup-do-not-use-e1c6095c058c749432e43b87330f491976711585.tar
drakx-backup-do-not-use-e1c6095c058c749432e43b87330f491976711585.tar.gz
drakx-backup-do-not-use-e1c6095c058c749432e43b87330f491976711585.tar.bz2
drakx-backup-do-not-use-e1c6095c058c749432e43b87330f491976711585.tar.xz
drakx-backup-do-not-use-e1c6095c058c749432e43b87330f491976711585.zip
add totem support
Diffstat (limited to 'move/make_live_tree_boot')
-rwxr-xr-xmove/make_live_tree_boot6
1 files changed, 6 insertions, 0 deletions
diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot
index b4245b381..20518bfdc 100755
--- a/move/make_live_tree_boot
+++ b/move/make_live_tree_boot
@@ -67,13 +67,19 @@ sub remove_light_tree {
my @always_list = chomp_(cat_('data/always.list'));
my @boot_list = chomp_(cat_('data/boot.list'));
+my @totem_list = chomp_(cat_('data/totem.list'));
+
+@always_list = uniq(@always_list, intersection(\@boot_list, \@totem_list));
@boot_list = difference2(\@boot_list, \@always_list);
+@totem_list = difference2(\@totem_list, \@always_list);
remove_light_tree('always', \@always_list);
remove_light_tree('boot', \@boot_list);
+remove_light_tree('totem', \@totem_list);
if (!@ARGV) {
create_light_tree('always', \@always_list);
create_light_tree('boot', \@boot_list);
+ create_light_tree('totem', \@totem_list);
}