diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:31 +0000 |
commit | 22e9446ba7c2e6fadaba24f021dfa8e19f42084f (patch) | |
tree | 123436e6d1877bc438d24347225d9ed5dda7e383 | |
parent | 535632d282304c5e338cbae1c3f903cde89d038d (diff) | |
download | drakx-backup-do-not-use-22e9446ba7c2e6fadaba24f021dfa8e19f42084f.tar drakx-backup-do-not-use-22e9446ba7c2e6fadaba24f021dfa8e19f42084f.tar.gz drakx-backup-do-not-use-22e9446ba7c2e6fadaba24f021dfa8e19f42084f.tar.bz2 drakx-backup-do-not-use-22e9446ba7c2e6fadaba24f021dfa8e19f42084f.tar.xz drakx-backup-do-not-use-22e9446ba7c2e6fadaba24f021dfa8e19f42084f.zip |
better flow
-rw-r--r-- | perl-install/install/install2.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 6f552dc2e..affc65620 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -434,9 +434,11 @@ sub main { eval { fs::mount::mount('none', '/sys', 'sysfs', 1) }; eval { touch('/root/non-chrooted-marker.DrakX') }; #- helps distinguishing /root and /mnt/root when we don't know if we are chrooted - start_udev() if !$::local_install; - - init_local_install($o) if $::local_install; + if ($::local_install) { + init_local_install($o); + } else { + start_udev(); + } $o->{prefix} = $::prefix = $::testing ? "/tmp/test-perl-install" : "/mnt"; mkdir $::prefix, 0755; |