diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-02 17:37:08 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-02 17:37:08 +0000 |
commit | 42690a293f555776b700383bd677751d300112d2 (patch) | |
tree | 4ef838ad9848b8cd36ae4783eb040967ea5cf04b /move/make_live | |
parent | 5658174ffbb90d09fa5acc4da80f5e502fce9832 (diff) | |
download | drakx-42690a293f555776b700383bd677751d300112d2.tar drakx-42690a293f555776b700383bd677751d300112d2.tar.gz drakx-42690a293f555776b700383bd677751d300112d2.tar.bz2 drakx-42690a293f555776b700383bd677751d300112d2.tar.xz drakx-42690a293f555776b700383bd677751d300112d2.zip |
no need for doing things in a block
Diffstat (limited to 'move/make_live')
-rwxr-xr-x | move/make_live | 18 |
1 files changed, 9 insertions, 9 deletions
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 |