Sophie

Sophie

distrib > Mandriva > cs4.0 > i586 > by-pkgid > e6b0a0e61d184f3b07fa18b5fa2a2ee2 > scriptlet

hplip-1.6.7-2mlcs4.i586.rpm

PREUN

/bin/sh
# Let HPLIP daemons not be automatically started at boot time any more
/usr/share/rpm-helper/del-service hplip $1 hplip

POSTIN

/bin/sh
# Let HPLIP daemons be automatically started at boot time
/usr/share/rpm-helper/add-service hplip $1 hplip 
# Menu update
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

# Restart CUPS to make the Fax PPD known to it
/sbin/service cups condrestart > /dev/null 2>/dev/null || :

POSTUN

/bin/sh
## Menu update
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

# Restart CUPS to make the removal of the Fax PPD known to it
/sbin/service cups condrestart > /dev/null 2>/dev/null || :