#!/bin/sh
#
# post install script for srcd
#

#
# POST-DEINSTALL part
#
FBSD_VERSION=`uname -r|sed 's/\..*//'`

if [ "$FBSD_VERSION" = "4" ]
then
    if [ "$2" = "POST-DEINSTALL" ]
    then
        if [ -L /usr/local/etc/rc.d/99srcd.sh ]
        then
            rm /usr/local/etc/rc.d/99srcd.sh
        fi
    fi
fi

exit 0

