summaryrefslogtreecommitdiff
path: root/misc/rubygems/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rubygems/INSTALL')
-rw-r--r--misc/rubygems/INSTALL12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/rubygems/INSTALL b/misc/rubygems/INSTALL
new file mode 100644
index 00000000000..f71f36e1205
--- /dev/null
+++ b/misc/rubygems/INSTALL
@@ -0,0 +1,12 @@
+# $NetBSD: INSTALL,v 1.1 2011/03/27 13:02:17 taca Exp $
+
+RUBYGEM="@PREFIX@/bin/@RUBYGEM_NAME@"
+
+case ${STAGE} in
+POST-INSTALL)
+ if [ -f ${RUBYGEM} ]; then
+ ${MV} ${RUBYGEM} ${RUBYGEM}.orig
+ fi
+ ${CP} -p ${RUBYGEM}.new ${RUBYGEM}
+ ;;
+esac