diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-08-04 09:42:53 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-08-04 09:42:53 +0200 |
commit | 05b73434c3f9d709d7ac7b620f7e849dbe0decb6 (patch) | |
tree | 84cc7f1f8cbf0d1f75815327b52f1cf1d20f7512 | |
parent | f872ca47b0b1d72d5780058f98534774f07b89d0 (diff) | |
download | generate_gallery-05b73434c3f9d709d7ac7b620f7e849dbe0decb6.tar.gz generate_gallery-05b73434c3f9d709d7ac7b620f7e849dbe0decb6.tar.xz |
make less verbose without option
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | generate_gallery.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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}); |