summaryrefslogtreecommitdiff
path: root/lang/ruby24-base/DEINSTALL
blob: 54ce60a5057ed24cc72fb9c071c35a21833f1749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: DEINSTALL,v 1.1 2017/06/18 13:45:11 taca Exp $

RUBY_GEM_BASE="${PREFIX}/@RUBY_GEM_BASE@"
RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"

case ${STAGE} in
DEINSTALL)
	${RM} -f ${RUBY_SITERIDIR}/created.rid
	;;
POST-DEINSTALL)
	${RM} -rf ${GEM_HOME}
	${RMDIR} ${RUBY_GEM_BASE} 2>/dev/null || true
	;;
esac