diff options
author | Doug Barton <dougb@FreeBSD.org> | 2007-12-12 21:50:59 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2007-12-12 21:50:59 +0000 |
commit | 5be76771c009b1dc0b7abeaef1e50ae2c353d25b (patch) | |
tree | 3985321f407744fc890aef40ee7b606baf27c60e /ports-mgmt/portmaster | |
parent | Do not depend on libdvdcss when building packages as libdvdcss is restricted. (diff) |
New Features
===========+
1. If an +IGNOREME file is present for a package that has a new
version, let the user know.
2. Use printf to display BROKEN/FORBIDDEN/IGNORE messages so that
multi-line messages with embedded newlines will display properly.
Typo Fix
========
Fix two typos in the "it's interactive" message
... on the same line
... in two consecutive words. A new personal record.
I did run through the rest of the script with aspell and didn't
notice anything else, but who knows?
Notes
Notes:
svn path=/head/; revision=203398
Diffstat (limited to 'ports-mgmt/portmaster')
-rw-r--r-- | ports-mgmt/portmaster/files/portmaster.sh.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ports-mgmt/portmaster/files/portmaster.sh.in b/ports-mgmt/portmaster/files/portmaster.sh.in index 154ff4ecf415..6c673257fb81 100644 --- a/ports-mgmt/portmaster/files/portmaster.sh.in +++ b/ports-mgmt/portmaster/files/portmaster.sh.in @@ -486,6 +486,9 @@ check_for_updates () { case "$2" in list) if [ -z "$newportdir" ]; then echo " ===>>> New version available: $port_ver" + if [ -e "$pdb/$1/+IGNOREME" ]; then + echo " ===>>> +IGNOREME file is present for $1" + fi num_updates=$(( $num_updates + 1 )) else unset newportdir @@ -1496,7 +1499,7 @@ for state in FORBIDDEN BROKEN IGNORE; do state_set=`make -V $state` if [ -n "$state_set" ]; then echo "===>>> This port is marked $state:" - echo "===>>> $state_set" + printf "===>>> $state_set" echo "===>>> If you are sure you can build it, remove the" echo " $state line in the Makefile and try again." safe_exit 1 @@ -1546,7 +1549,7 @@ dofetch () { if [ -n "$TESTINT" ]; then echo '' echo "===>>> Warning: $portdir is interactive, and will likely" - echo " reqire attenton during the build" + echo " require attention during the build" echo '' echo -n "===>>> Press the [Enter] or [Return] key to continue " read DISCARD |