diff options
-rwxr-xr-x | anondcim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ rand() { [ $# -gt 0 ] || die "Usage: $0 [-p image_prefix] [-s destination_size (absolute or percentage)] [-d destination_directory] imagefile(s)" -[ ! -x "$(which convert)" ] && die "ImageMagick (convert, identify) is not installed" +which convert 2>/dev/null || die "ImageMagick (convert, identify) is not installed" which jhead 2>/dev/null || which exiftool 2>/dev/null || die "jhead or exiftool has to be installed" # set default values |