diff options
Diffstat (limited to 'misc/rubygems/DEINSTALL')
-rw-r--r-- | misc/rubygems/DEINSTALL | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/rubygems/DEINSTALL b/misc/rubygems/DEINSTALL new file mode 100644 index 00000000000..d272743ae1a --- /dev/null +++ b/misc/rubygems/DEINSTALL @@ -0,0 +1,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 |