X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/b5fafd960d127028dce43076e46038888b3869ee..c654a748d86a56a86804bccd8de87315c0cd4404:/gen/cups-cluster.sh diff --git a/gen/cups-cluster.sh b/gen/cups-cluster.sh index 927281e8..63b5e144 100755 --- a/gen/cups-cluster.sh +++ b/gen/cups-cluster.sh @@ -35,6 +35,9 @@ tar xf $TARFILE || exit $MR_TARERR /etc/init.d/cups start /etc/cups/bin/gen-ppd.pl 2>/dev/null +if [ -s /etc/cups/printers.conf.tmp ]; then + mv /etc/cups/printers.conf.tmp /etc/cups/printers.conf +fi # if Samba-enabled, then restart it too to have it pick up # new definitions