Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / pkgtools / libkver / DEINSTALL
bloba7990f8694c5438b703accc7c29b8755a2de5781
1 # $NetBSD$
3 HAS_SYSCTL=@HAS_SYSCTL@
5 case ${STAGE} in
6 DEINSTALL)
7         if ${HAS_SYSCTL} && [ -f /sbin/sysctl.pre-${PKGBASE} ]; then
8                 ${RM} -f /sbin/sysctl                           &&      \
9                 ${MV} /sbin/sysctl.pre-${PKGBASE} /sbin/sysctl  &&      \
10                 ${ECHO} "/sbin/sysctl.pre-${PKGBASE} has been restored as /sbin/sysctl"
11         fi
12 esac