summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/grep/grep-2.5.1a-r2.ebuild')
-rw-r--r--sys-apps/grep/grep-2.5.1a-r2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/grep/grep-2.5.1a-r2.ebuild b/sys-apps/grep/grep-2.5.1a-r2.ebuild
index 154ffa0..5509b45 100644
--- a/sys-apps/grep/grep-2.5.1a-r2.ebuild
+++ b/sys-apps/grep/grep-2.5.1a-r2.ebuild
@@ -71,5 +71,10 @@ src_install() {
ln -sfn grep "${D}"/bin/egrep || die "ln egrep failed"
ln -sfn grep "${D}"/bin/fgrep || die "ln fgrep failed"
+ if ! use vanilla; then
+ exeinto /etc/profile.d
+ doexe "${FILESDIR}"/grep.sh
+ fi
+
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}