mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Change the default behaviour to continue on newly found leaf packages.
PR: 137626 Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
This commit is contained in:
parent
f25ac1f384
commit
12dbe56236
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239398
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= pkg_cutleaves
|
||||
PORTVERSION= 20080320
|
||||
PORTVERSION= 20090810
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user