diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-20 14:03:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-20 14:03:27 +0000 |
commit | c3608d2612112b4099b08891541289fd513e285c (patch) | |
tree | de4fcc2d7dc9818cc39dd4adb92627000be19c5a /perl-install/printer | |
parent | 7083c704808e5ea896d092bb6350fbdfc72dae50 (diff) | |
download | drakx-backup-do-not-use-c3608d2612112b4099b08891541289fd513e285c.tar drakx-backup-do-not-use-c3608d2612112b4099b08891541289fd513e285c.tar.gz drakx-backup-do-not-use-c3608d2612112b4099b08891541289fd513e285c.tar.bz2 drakx-backup-do-not-use-c3608d2612112b4099b08891541289fd513e285c.tar.xz drakx-backup-do-not-use-c3608d2612112b4099b08891541289fd513e285c.zip |
prevent set_usermode() vs set_cups_autoconf() conflict
Diffstat (limited to 'perl-install/printer')
-rw-r--r-- | perl-install/printer/main.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index c0e95953c..d1da95b73 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -614,7 +614,8 @@ sub get_cups_autoconf { $sysconfig{CUPS_CONFIG} ne 'manual' ? 1 : 0 } sub set_usermode { my ($usermode) = @_; - setVarsInSh("$::prefix/etc/sysconfig/printing", { "USER_MODE" => $usermode ? "expert" : "recommended" }); + $sysconfig{USER_MODE} = $usermode ? "expert" : "recommended"; + setVarsInSh("$::prefix/etc/sysconfig/printing", \%sysconfig); return 1; } |