From 3a6737ee923c16db0885a0320baeed43b88a201f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Sep 2002 09:45:24 +0000 Subject: don't detect same removed/added when upgrading from previous releases --- perl-install/standalone/service_harddrake | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') 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; -- cgit v1.2.1