Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > e123b5a6ec8f39bf7d2bf2f5f7b42e7f > scriptlet

gutenprint-cups-5.2.6-1.mga1.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