diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-15 17:13:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-15 17:13:45 +0000 |
commit | e2d84e38284aeb9d522a7e935554340ddf0e4a6f (patch) | |
tree | 5a7444ee5f2af59431481999f729676090b1e0f3 /app-misc/grc/grc-1.11-r1.ebuild | |
parent | 519e4d5d99fc43d5c9a038098c029dc4ef9d6792 (diff) |
gentoo resync : 15.11.2017
Diffstat (limited to 'app-misc/grc/grc-1.11-r1.ebuild')
-rw-r--r-- | app-misc/grc/grc-1.11-r1.ebuild | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/app-misc/grc/grc-1.11-r1.ebuild b/app-misc/grc/grc-1.11-r1.ebuild index dd4b617a6298..516d79b6b948 100644 --- a/app-misc/grc/grc-1.11-r1.ebuild +++ b/app-misc/grc/grc-1.11-r1.ebuild @@ -35,9 +35,10 @@ src_install() { insinto /usr/share/grc doins \ contrib/mrsmith/conf.* \ - colourfiles/conf.* - insinto /etc/profile.d - newins grc.bashrc grc.sh + colourfiles/conf.* \ + grc.bashrc \ + grc.fish \ + grc.zsh insinto /etc doins grc.conf @@ -45,3 +46,16 @@ src_install() { dodoc README.markdown INSTALL TODO debian/changelog CREDITS Regexp.txt doman *.1 } + +pkg_postinst() { + elog + elog "Shell specific configurations can be found in ${ROOT}usr/share/grc" + elog "Be sure to symlink one to use grc globally:" + elog + elog " ln -s ${ROOT}usr/share/grc.SHELL ${ROOT}etc/profile.d/grc.sh" + elog + elog "Replace 'SHELL' in the above command with one of: bashrc, fish, zsh." + elog "Afterwards, use '. ${ROOT}etc/profile' to activate grc in existing" + elog "shell sessions." + elog +} |