diff options
author | 2001-10-22 12:07:48 +0000 | |
---|---|---|
committer | 2001-10-22 12:07:48 +0000 | |
commit | ba9273964ab53ef3dc83c48a635267163db8e3ad (patch) | |
tree | d047a9020f8a12562271332f37bc1ce4fda4af3f /app-editors | |
parent | updated to use intltool (diff) | |
download | gentoo-2-ba9273964ab53ef3dc83c48a635267163db8e3ad.tar.gz gentoo-2-ba9273964ab53ef3dc83c48a635267163db8e3ad.tar.bz2 gentoo-2-ba9273964ab53ef3dc83c48a635267163db8e3ad.zip |
Don't install .vimrc for root.
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vim/vim-6.0-r2.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app-editors/vim/vim-6.0-r2.ebuild b/app-editors/vim/vim-6.0-r2.ebuild index 93a05095c3dc..30a086b427a9 100644 --- a/app-editors/vim/vim-6.0-r2.ebuild +++ b/app-editors/vim/vim-6.0-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License, v2 or later # Authors Ben Beuchler <insyte@mazer.squad51.net> # and Aron Griffis <agriffis@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-6.0-r2.ebuild,v 1.2 2001/10/21 16:21:44 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-6.0-r2.ebuild,v 1.3 2001/10/22 12:07:48 agriffis Exp $ # Please name the ebuild as follows. If this is followed, there # should be no need to modify this ebuild when the Vim version is @@ -191,10 +191,11 @@ src_install() { dodoc README* cd $D/usr/share/doc/$PF ln -s ../../vim/*/doc $P - # .vimrc for root - mkdir -p $D/root - install -m644 $FILESDIR/vimrc $D/root/.vimrc # Default .vimrc for users (this should be revisited) insinto /etc/skel newins $FILESDIR/vimrc .vimrc + # Don't install .vimrc for root since it might overwrite root's + # current .vimrc, if it exists. + #mkdir -p $D/root + #install -m644 $FILESDIR/vimrc $D/root/.vimrc } |