Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > cc296541fe8e7672e6325caf32d2f81e > scriptlet

tightvnc-server-1.2.9-2mdk.i586.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