#!/bin/sh

SIPROXD_HOME=${PKG_PREFIX}/siproxd
SIPROXD_PID=${SIPROXD_HOME}/siproxd.pid

case $2 in
    DEINSTALL)
    [ -r ${SIPROXD_PID} ] && kill `cat ${SIPROXD_PID}`
    rm -f ${SIPROXD_HOME}/* && rmdir ${SIPROXD_HOME}
    ;;
esac


syntax highlighted by Code2HTML, v. 0.9.1