diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2003-01-13 02:24:37 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2003-01-13 02:24:37 +0000 |
commit | a790b7b41860505b1ec38111052a55a4ec550dd9 (patch) | |
tree | 0889e814b393e9f82dc360c8bf8630d24833bb4c /perl-install/printer/main.pm | |
parent | f5e5b03e0bbb7098bbe5941aaf7e5e0b6c00f7a7 (diff) | |
download | drakx-backup-do-not-use-a790b7b41860505b1ec38111052a55a4ec550dd9.tar drakx-backup-do-not-use-a790b7b41860505b1ec38111052a55a4ec550dd9.tar.gz drakx-backup-do-not-use-a790b7b41860505b1ec38111052a55a4ec550dd9.tar.bz2 drakx-backup-do-not-use-a790b7b41860505b1ec38111052a55a4ec550dd9.tar.xz drakx-backup-do-not-use-a790b7b41860505b1ec38111052a55a4ec550dd9.zip |
Avoid unnecessary restarts of the CUPS daemon.
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r-- | perl-install/printer/main.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index 7c9930950..e53442866 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -647,7 +647,9 @@ sub set_cups_autoconf { output($file, @file_content); # Restart CUPS - printer::services::restart("cups"); + if ($autoconf) { + printer::services::restart("cups"); + } return 1; } |