Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 317fee78560827cded1825d29829f6a1 > scriptlet

gutenprint-cups-5.2.10-5.mga5.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 >/dev/null 2>&1 || :
# 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