Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > d756b75f7fed5e1920ad7d70bd250ef5 > scriptlet

cups-1.1.18-2.1mdk.i586.rpm

PREUN

/bin/sh
# Let CUPS daemon not be automatically started at boot time any more
if [ $1 = 0 ]; then service cups stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del cups; fi;

POSTIN

/bin/sh
/sbin/ldconfig
# Let CUPS daemon be automatically started at boot time
if [ $1 = 1 ]; then /sbin/chkconfig --add cups; else if [ -f /var/lock/subsys/cups ]; then service cups restart > /dev/null 2>/dev/null || : ; fi; fi; 

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

POSTUN

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