diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-04-23 18:00:18 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-04-23 18:00:18 +0000 |
commit | c46033c784fd9fdf2e705a008f8a97a7ffb68022 (patch) | |
tree | 46574b2141e81643174447b292f1f520e37ffe2b /dev-lang/ruby/ruby-1.8.1-r3.ebuild | |
parent | updates (Manifest recommit) (diff) | |
download | gentoo-2-c46033c784fd9fdf2e705a008f8a97a7ffb68022.tar.gz gentoo-2-c46033c784fd9fdf2e705a008f8a97a7ffb68022.tar.bz2 gentoo-2-c46033c784fd9fdf2e705a008f8a97a7ffb68022.zip |
Updated snapshot and oniguruma patch. Closing bug #48426. Added ROOT to pkg_postrm/pkg_postinst.
Diffstat (limited to 'dev-lang/ruby/ruby-1.8.1-r3.ebuild')
-rw-r--r-- | dev-lang/ruby/ruby-1.8.1-r3.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-lang/ruby/ruby-1.8.1-r3.ebuild b/dev-lang/ruby/ruby-1.8.1-r3.ebuild index e04db0063681..87028c9ca62f 100644 --- a/dev-lang/ruby/ruby-1.8.1-r3.ebuild +++ b/dev-lang/ruby/ruby-1.8.1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.1-r3.ebuild,v 1.4 2004/04/22 13:57:03 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.1-r3.ebuild,v 1.5 2004/04/23 18:00:18 usata Exp $ IUSE="socks5 tcltk cjk" @@ -87,21 +87,21 @@ src_install() { pkg_postinst() { ewarn ewarn "Warning: Vim won't work if you've just updated ruby from" - ewarn "1.6.8 to 1.8.0 due to the library version change." + ewarn "1.6.x to 1.8.x due to the library version change." ewarn "In that case, you will need to remerge vim." ewarn - if [ ! -e "$(readlink /usr/bin/ruby)" ] ; then - /usr/sbin/ruby-config ruby${SLOT/./} + if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then + ${ROOT}usr/sbin/ruby-config ruby${SLOT/./} fi einfo - einfo "You can change the default ruby interpreter by /usr/sbin/ruby-config" + einfo "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config" einfo } pkg_postrm() { - if [ ! -e "$(readlink /usr/bin/ruby)" ] ; then - /usr/sbin/ruby-config ruby${SLOT/./} + if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then + ${ROOT}usr/sbin/ruby-config ruby${SLOT/./} fi } |