Skip to content
Permalink
Browse files

Changed raw ui_msg calls into a post-install stage. Prevents messages…

… from showing up during portindex.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4522 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
tobypeterson committed Jan 8, 2004
1 parent c93f967 commit 5cd4269d2214dfa037ccd448ac7022b25e930e85
Showing with 10 additions and 6 deletions.
  1. +10 −6 sysutils/bash-completion/Portfile
@@ -1,8 +1,9 @@
# $Id: Portfile,v 1.2 2004/01/07 00:13:40 yeled Exp $
# $Id: Portfile,v 1.3 2004/01/08 05:51:32 toby Exp $

PortSystem 1.0
name bash-completion
version 20040101
revision 1
categories sysutils
maintainers yeled@opendarwin.org
description Programmable bash2 completions.
@@ -20,8 +21,11 @@ destroot {
${workpath}/bash_completion/bash_completion
system "install -m 755 -c ${workpath}/bash_completion/bash_completion ${destroot}${prefix}/etc/"
}

ui_msg "================================================================================\n"
ui_msg "Set this in your .bash_profile:\n"
ui_msg "\tif \[ -f ${prefix}/etc/bash_completion ]; then\n\t\t. ${prefix}/etc/bash_completion\n\tfi\n"
ui_msg "================================================================================\n"
post-install {
ui_msg "Set this in your .bash_profile:"
ui_msg ""
ui_msg " if \[ -f ${prefix}/etc/bash_completion ]; then"
ui_msg " . ${prefix}/etc/bash_completion"
ui_msg " fi"
ui_msg ""
}

0 comments on commit 5cd4269

Please sign in to comment.
You can’t perform that action at this time.