diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-12-02 16:36:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-12-02 16:36:00 +0000 |
commit | 1cd0396c4c2ee22128828942003370848e84bc32 (patch) | |
tree | fa264e76ce210700868b048971a4140f2db85b71 | |
parent | bf5e9f4bc756d27f14e322c3dcf0782468950d65 (diff) | |
download | drakx-backup-do-not-use-1cd0396c4c2ee22128828942003370848e84bc32.tar drakx-backup-do-not-use-1cd0396c4c2ee22128828942003370848e84bc32.tar.gz drakx-backup-do-not-use-1cd0396c4c2ee22128828942003370848e84bc32.tar.bz2 drakx-backup-do-not-use-1cd0396c4c2ee22128828942003370848e84bc32.tar.xz drakx-backup-do-not-use-1cd0396c4c2ee22128828942003370848e84bc32.zip |
fix broken alternatives (esp. for foomatic-db-engine which register non-existant binaries)
-rwxr-xr-x | move/make_live | 3 |
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'); |