cups service: fix gutenprint update when there's no printers
This commit is contained in:
parent
ba3153ee08
commit
851af5e888
|
@ -311,7 +311,9 @@ in
|
|||
[ ! -e "/var/lib/cups/$i" ] && ln -s "${rootdir}/etc/cups/$i" "/var/lib/cups/$i"
|
||||
done
|
||||
${optionalString cfg.gutenprint ''
|
||||
${gutenprint}/bin/cups-genppdupdate -p /etc/cups/ppd
|
||||
if [ -d /var/lib/cups/ppd ]; then
|
||||
${gutenprint}/bin/cups-genppdupdate -p /var/lib/cups/ppd
|
||||
fi
|
||||
''}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue