e47e9eac6a
* Remove setting PREFIX. * Remove executing exit on last line. Bump PKGREVISION.
14 lines
313 B
Text
14 lines
313 B
Text
# $NetBSD: DEINSTALL,v 1.2 2011/11/13 15:45:49 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
|