aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2009-08-13 01:50:48 +0800
committerstefan <stefan@FreeBSD.org>2009-08-13 01:50:48 +0800
commit2514894b57fef4d55c2572382febc8e428c78a27 (patch)
treee06d0b3b17d92d5c1537463b74710074889e14ad
parent07340fb2d06552269cb2910eeb8268637530740a (diff)
downloadfreebsd-ports-gnome-2514894b57fef4d55c2572382febc8e428c78a27.tar.gz
freebsd-ports-gnome-2514894b57fef4d55c2572382febc8e428c78a27.tar.zst
freebsd-ports-gnome-2514894b57fef4d55c2572382febc8e428c78a27.zip
Change the default behaviour to continue on newly found leaf packages.
PR: 137626 Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
-rw-r--r--ports-mgmt/pkg_cutleaves/Makefile2
-rw-r--r--ports-mgmt/pkg_cutleaves/files/pkg_cutleaves4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/pkg_cutleaves/Makefile b/ports-mgmt/pkg_cutleaves/Makefile
index 44289fd2610f..3d4cbfdab6f4 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 d2193eeeef96..8ba34bef2035 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";