diff options
Diffstat (limited to 'perl-install/modules/any_conf.pm')
| -rw-r--r-- | perl-install/modules/any_conf.pm | 12 | 
1 files changed, 2 insertions, 10 deletions
| diff --git a/perl-install/modules/any_conf.pm b/perl-install/modules/any_conf.pm index 855678dfd..c235e84f4 100644 --- a/perl-install/modules/any_conf.pm +++ b/perl-install/modules/any_conf.pm @@ -1,4 +1,4 @@ -package modules::any_conf; # $Id$ +package modules::any_conf;  use log;  use common; @@ -139,10 +139,7 @@ sub write {      #- Substitute new config (if config has changed)      substInFile {  	my ($type, $module, $val) = split(' ', chomp_($_), 3); -	if ($type eq 'post-install' && $module eq 'supermount') {	     -	    #- remove the post-install supermount stuff. -	    $_ = ''; -	} elsif (member($type, $conf->handled_fields)) { +	if (member($type, $conf->handled_fields)) {  	    my $new_val = $conf->{$module}{$type};  	    if (!$new_val) {  		$_ = ''; @@ -203,11 +200,6 @@ sub read_raw {  	s/#.*$//;  	s/\s+$//; -	# Fix upgrade from ALSA < 0.9.0: -	s/\b(snd-card-)/snd-/g; -	# Fix upgrade for unified VIA driver: -	s/\b(snd-via686|snd-via8233)\b/snd-via82xx/g; -  	my ($type, $module, $val) = split(' ', $_, 3) or next;  	$c{$module}{$type} = $val; | 
