Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > by-pkgid > 398afed508aa44a1e7ee7e72611d8d80 > scriptlet

tightvnc-server-1.2.6-2.1mdk.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = 0 ]; then
        /sbin/service vncserver stop >/dev/null 2>&1
        /sbin/chkconfig --del vncserver
fi

POSTIN

/bin/sh
if [ "$1" = 1 ]; then
        /sbin/chkconfig --add vncserver
fi

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then
        /sbin/service vncserver condrestart >/dev/null 2>&1
fi