summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;
}