summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-20 14:01:35 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-20 14:01:35 +0000
commit7083c704808e5ea896d092bb6350fbdfc72dae50 (patch)
tree067f478de5b3625149ab540d776faccf631718a7 /perl-install/printer
parentd5400bba892937f82793b1ef403f7088415baba8 (diff)
downloaddrakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar
drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar.gz
drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar.bz2
drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.tar.xz
drakx-7083c704808e5ea896d092bb6350fbdfc72dae50.zip
restore service restart
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/main.pm2
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;
}