Sophie

Sophie

distrib > Mandriva > cs4.0 > x86_64 > by-pkgid > b77f91b6b44afa47701c5b6bd853d230 > scriptlet

gutenprint-foomatic-5.0.0-0.20mlcs4.x86_64.rpm

POSTIN

/bin/sh
# Update print queues with Gimp-Print/Gutenprint IJS driver

ls /etc/cups/ppd/*.ppd > /dev/null 2>&1 && \
for f in /etc/cups/ppd/*.ppd; do \
	queue=`basename ${f%.ppd}`; \
	egrep -q '\*FoomaticIDs.*(gimp-print|gutenprint)' $f && \
		foomatic-configure -n $queue -f \
			-d gutenprint-ijs.5.0 \
			>/dev/null 2>&1 || :; \
done
exit 0