Sophie

Sophie

distrib > PLD > ac > ppc > media > dist > by-pkgid > b9ab1c85f131b966381148f3a45d9a32 > scriptlet

tzdata-2007d-1.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	/sbin/chkconfig --del timezone
fi

POSTIN

/bin/sh
/sbin/chkconfig --add timezone
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/timezone ] && . /etc/sysconfig/timezone
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/timezone ]; then
/sbin/service timezone restart 1>&2 || :;
else
echo 'Run "/sbin/service timezone start" to start timezone service.'
fi
fi };

Triggers

rc-scripts < 0.4.1.4

/bin/sh
/sbin/chkconfig --add timezone