summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-09 09:45:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-09 09:45:24 +0000
commit3a6737ee923c16db0885a0320baeed43b88a201f (patch)
treee468ce8aca994471abb74ca514784b251fa201da
parent1d7d41c6a94df97778b887c1affb5c69d18fc295 (diff)
downloaddrakx-3a6737ee923c16db0885a0320baeed43b88a201f.tar
drakx-3a6737ee923c16db0885a0320baeed43b88a201f.tar.gz
drakx-3a6737ee923c16db0885a0320baeed43b88a201f.tar.bz2
drakx-3a6737ee923c16db0885a0320baeed43b88a201f.tar.xz
drakx-3a6737ee923c16db0885a0320baeed43b88a201f.zip
don't detect same removed/added when upgrading from previous releases
-rwxr-xr-xperl-install/standalone/service_harddrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index fe9750e8f..964a59592 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -17,6 +17,7 @@ $last_boot_config .= '_X11' if $invert_do_it;
# first run ? if not read old hw config
my $previous_config = (-f $last_boot_config && -s $last_boot_config) ? retrieve($last_boot_config) : {};
+$previous_config = $$previous_config if ref($previous_config) !~ /HASH/;
my (%config, $wait);
my $in = interactive->vnew;