summaryrefslogtreecommitdiffstats
path: root/move/make_live
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-12-02 16:36:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-12-02 16:36:00 +0000
commit1cd0396c4c2ee22128828942003370848e84bc32 (patch)
treefa264e76ce210700868b048971a4140f2db85b71 /move/make_live
parentbf5e9f4bc756d27f14e322c3dcf0782468950d65 (diff)
downloaddrakx-1cd0396c4c2ee22128828942003370848e84bc32.tar
drakx-1cd0396c4c2ee22128828942003370848e84bc32.tar.gz
drakx-1cd0396c4c2ee22128828942003370848e84bc32.tar.bz2
drakx-1cd0396c4c2ee22128828942003370848e84bc32.tar.xz
drakx-1cd0396c4c2ee22128828942003370848e84bc32.zip
fix broken alternatives (esp. for foomatic-db-engine which register non-existant binaries)
Diffstat (limited to 'move/make_live')
-rwxr-xr-xmove/make_live3
1 files changed, 2 insertions, 1 deletions
diff --git a/move/make_live b/move/make_live
index 88c38233f..a262ec514 100755
--- a/move/make_live
+++ b/move/make_live
@@ -92,10 +92,11 @@ print "Making live in $::prefix directory.\n";
{
eval { fs::umount("$::prefix/proc") };
- eval { rm_rf($::prefix) };
+# 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();
touch("$::prefix/etc/menu/enable_simplified");
$ENV{LC_ALL} = 'en_US'; #- update-menus doesn't work when there is no locale (aka locale "C")
run_program::rooted($::prefix, 'update-menus', '-n');