Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > ddb1ae7c2d0931a1b9819d05836afe84 > scriptlet

gutenprint-cups-5.1.7-2mdv2009.0.i586.rpm

POSTIN

/bin/sh
# Restart the CUPS daemon when it is running, but do not start it when it
# is not running. The restart of the CUPS daemon updates the CUPS-internal
# PPD index
/sbin/service cups condrestart || :
# Update print queues with Gutenprint CUPS driver
/usr/sbin/cups-genppdupdate.5.1 > /dev/null 2>/dev/null || :

POSTUN

/bin/sh
# Restart the CUPS daemon when it is running, but do not start it when it
# is not running. The restart of the CUPS daemon updates the CUPS-internal
# PPD index
# Do not restart on upgrades, as it is already restarted by post section.
if [ $1 -eq 1 ]; then
	/sbin/service cups condrestart || :
fi