summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-14 11:00:19 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-14 11:00:19 +0000
commit6645057d2a172397994859fec429d9dcfc53a1a5 (patch)
tree0927f2153bc308684e009caf1a5ce58abdf7ada3
parent323153ec45185a55048f2499cab35d6b9ca8d054 (diff)
downloaddrakx-6645057d2a172397994859fec429d9dcfc53a1a5.tar
drakx-6645057d2a172397994859fec429d9dcfc53a1a5.tar.gz
drakx-6645057d2a172397994859fec429d9dcfc53a1a5.tar.bz2
drakx-6645057d2a172397994859fec429d9dcfc53a1a5.tar.xz
drakx-6645057d2a172397994859fec429d9dcfc53a1a5.zip
gc sux
-rw-r--r--move/move.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/move/move.pm b/move/move.pm
index f8ec221a2..df7216d8b 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -206,7 +206,7 @@ sub install2::handleMoveKey {
sub install2::verifyKey {
my ($o) = $::o;
- while (!any { m|\s/home\s| } cat_('/proc/mounts')) {
+ while (cat_('/proc/mounts') !~ m|\s/home\s|) {
$o->ask_okcancel_({ title => N("Need a key to save your data"),
messages => formatAlaTeX(
@@ -272,7 +272,7 @@ sub install2::startMove {
#- automatic printer, timezone, network configs
require install_steps_interactive;
- if (!any { /nfs/ } cat_('/proc/mounts')) {
+ if (cat_('/proc/mounts') =~ /nfs/) {
install_steps_interactive::configureNetwork($o);
#- seems that applications have trouble with the loopback interface
#- after successful network configuration if we don't do that