Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 5dd8e7ef8b3a341b0dd563afd780f877 > scriptlet

gutenprint-cups-5.2.9-2.mga3.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 > /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