summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xanondcim6
1 files changed, 2 insertions, 4 deletions
diff --git a/anondcim b/anondcim
index df5d4b9..7f7545b 100755
--- a/anondcim
+++ b/anondcim
@@ -92,12 +92,10 @@ EOF
"$dst"
# remove metadata
- if [ -x "$(which jhead)" ]
- then
+ if which jhead &>/dev/null; then
jhead -purejpg -q "$dst" || err "removing meta-data with jhead failed"
fi
- if [ -x "$(which exiftool)" ]
- then
+ if which exiftool &>/dev/null; then
exiftool -overwrite_original -all= "$dst" || err "removing meta-data with exiftool failed"
fi
contact: Jan Huwald // Impressum