From 05b73434c3f9d709d7ac7b620f7e849dbe0decb6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 4 Aug 2011 09:42:53 +0200 Subject: make less verbose without option Signed-off-by: Florian Pritz --- generate_gallery.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_gallery.pl b/generate_gallery.pl index 0d3996c..4fcdc60 100755 --- a/generate_gallery.pl +++ b/generate_gallery.pl @@ -52,7 +52,7 @@ for my $dir (@ARGV) { } unless ( -e "$abs_dir/thumbs/$file") { - print "processing $dir/$file ...\n"; + print "processing $dir/$file ...\n" if $opts{verbose}; my $img = new Image::Magick; $img->Read("$abs_dir/$file"); $img->Thumbnail(geometry=>$opts{thumbnailsize}."x".$opts{thumbnailsize}); -- cgit v1.2.3-24-g4f1b