diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-20 14:01:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-20 14:01:35 +0000 |
commit | 7083c704808e5ea896d092bb6350fbdfc72dae50 (patch) | |
tree | 067f478de5b3625149ab540d776faccf631718a7 | |
parent | d5400bba892937f82793b1ef403f7088415baba8 (diff) | |
download | drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar.gz drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar.bz2 drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar.xz drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.zip |
restore service restart
-rw-r--r-- | perl-install/printer/main.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index bdd4e52da..c0e95953c 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -605,6 +605,8 @@ sub set_cups_autoconf { my ($autoconf) = @_; $sysconfig{CUPS_CONFIG} = $autoconf ? "automatic" : "manual"; setVarsInSh("$::prefix/etc/sysconfig/printing", \%sysconfig); + # Restart CUPS + printer::services::restart("cups") if $autoconf; return 1; } |