diff options
author | stefan <stefan@FreeBSD.org> | 2009-08-13 01:50:48 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2009-08-13 01:50:48 +0800 |
commit | 2514894b57fef4d55c2572382febc8e428c78a27 (patch) | |
tree | e06d0b3b17d92d5c1537463b74710074889e14ad /ports-mgmt | |
parent | 07340fb2d06552269cb2910eeb8268637530740a (diff) | |
download | freebsd-ports-graphics-2514894b57fef4d55c2572382febc8e428c78a27.tar.gz freebsd-ports-graphics-2514894b57fef4d55c2572382febc8e428c78a27.tar.zst freebsd-ports-graphics-2514894b57fef4d55c2572382febc8e428c78a27.zip |
Change the default behaviour to continue on newly found leaf packages.
PR: 137626
Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/pkg_cutleaves/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/pkg_cutleaves/files/pkg_cutleaves | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/pkg_cutleaves/Makefile b/ports-mgmt/pkg_cutleaves/Makefile index 44289fd2610..3d4cbfdab6f 100644 --- a/ports-mgmt/pkg_cutleaves/Makefile +++ b/ports-mgmt/pkg_cutleaves/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pkg_cutleaves -PORTVERSION= 20080320 +PORTVERSION= 20090810 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves b/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves index d2193eeeef9..8ba34bef203 100644 --- a/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves +++ b/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves @@ -121,7 +121,7 @@ else { $again = 'n'; } # Loop while the user wants to - ROUND: while($again eq 'y') { + ROUND: while($again ne 'n') { # Always start with an empty list of leaves to cut my %leavestocut; # Initialize counter for progress status @@ -259,7 +259,7 @@ else { goto AUTOPRUNE; } # AUTOPRUNE - print "Go on with new leaf packages ((y)es/[no])? "; + print "Go on with new leaf packages ([yes]/no)? "; # Get first character of input, without leading whitespace ($again) = (lc(<STDIN>) =~ /(\S)/o); print "\n"; |