/[gentoo-x86]/eclass/bash-completion.eclass
Gentoo

Diff of /eclass/bash-completion.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.19 Revision 1.20
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.19 2009/02/20 06:22:15 darkside Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.20 2009/02/20 06:45:12 darkside Exp $
4 4
5# @ECLASS: bash-completion.eclass 5# @ECLASS: bash-completion.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# shell-tools@gentoo.org. 7# shell-tools@gentoo.org.
8# 8#
49bash-completion_pkg_postinst() { 49bash-completion_pkg_postinst() {
50 if useq bash-completion ; then 50 if useq bash-completion ; then
51 elog "To enable command-line completion for ${PN}, run:" 51 elog "To enable command-line completion for ${PN}, run:"
52 elog 52 elog
53 elog " eselect bashcomp enable ${BASH_COMPLETION_NAME:-${PN}}" 53 elog " eselect bashcomp enable ${BASH_COMPLETION_NAME:-${PN}}"
54 elog " bash-completion-config --install ${BASH_COMPLETION_NAME:-${PN}}"
55 elog 54 elog
56 elog "to install locally, or" 55 elog "to install locally, or"
57 elog 56 elog
58 elog " bash-completion-config --global --install ${BASH_COMPLETION_NAME:-${PN}}" 57 elog " eselect bashcomp enable --global ${BASH_COMPLETION_NAME:-${PN}}"
59 elog 58 elog
60 elog "to install system-wide." 59 elog "to install system-wide."
61 elog "Read bash-completion-config(1) for more information." 60 elog "Read bash-completion-config(1) for more information."
62 fi 61 fi
63} 62}

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20