summaryrefslogtreecommitdiff
path: root/misc/rubygems/DEINSTALL
blob: d272743ae1a3d1d0b9ad38bf0fb7f3bca50b2bfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $NetBSD: DEINSTALL,v 1.1 2011/03/27 13:02:17 taca Exp $

RUBYGEM="@PREFIX@/bin/@RUBYGEM_NAME@"

case ${STAGE} in
DEINSTALL)
	${MV} ${RUBYGEM} ${RUBYGEM}.new
	if [ -f ${RUBYGEM}.orig ]; then
		${MV} ${RUBYGEM}.orig ${RUBYGEM}
	fi
	;;
esac