fix(utils/renamer): Mehr outputs nur im verbose-Fall.

This commit is contained in:
Stephan Barth 2024-07-29 15:42:42 +02:00
parent 5396d56627
commit ac30cb9e67

View File

@ -70,7 +70,7 @@ for my $to (keys %toRename) {
$_ .= ".$defaultExtension" for $pfrom, $pto; $_ .= ".$defaultExtension" for $pfrom, $pto;
} }
if(-e $pfrom) { if(-e $pfrom) {
print "Renaming '$pfrom' to '$pto'\n"; print "Renaming '$pfrom' to '$pto'\n" if $verbose;
system("cp", $pfrom, $pto); system("cp", $pfrom, $pto);
$did{$from} = 1; $did{$from} = 1;
if (defined $license) { if (defined $license) {