From 42690a293f555776b700383bd677751d300112d2 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 2 Dec 2003 17:37:08 +0000 Subject: no need for doing things in a block --- move/make_live | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'move') diff --git a/move/make_live b/move/make_live index 171512d44..579b3de67 100755 --- a/move/make_live +++ b/move/make_live @@ -86,20 +86,20 @@ sub config_X_proprietary_drivers { #- we do it by hand when needed substInFile { $_ = '' if /^nvidia$/ } "$::prefix/etc/modules"; } + my $cwd = chomp_(`pwd`); $::prefix = $ARGV[0] || '/tmp/live_tree'; print "Making live in $::prefix directory.\n"; -{ - eval { fs::umount("$::prefix/proc") }; -# eval { rm_rf($::prefix) }; - output_p("$::prefix/etc/fstab", "none /proc proc defaults 0 0\n"); - installPackages(); - run_program::rooted($::prefix, 'ldconfig'); - any::fix_broken_alternatives(); - run_program::rooted($::prefix, 'fc-cache'); #- generate cache in all directories mentioned in config file +eval { fs::umount("$::prefix/proc") }; +#eval { rm_rf($::prefix) }; +output_p("$::prefix/etc/fstab", "none /proc proc defaults 0 0\n"); -} +installPackages(); + +run_program::rooted($::prefix, 'ldconfig'); +any::fix_broken_alternatives(); +run_program::rooted($::prefix, 'fc-cache'); #- generate cache in all directories mentioned in config file #- system -- cgit v1.2.1