contrib/mgpg: use gpg2

pull/153/head
Leah Neukirchen 5 years ago
parent 62706de483
commit 87e5a1b2c3

@ -14,7 +14,7 @@ n=$(mshow -t "$tmp" | awk -F: '
/: application\/octet-stream/ {if (supported) print $1}')
if [ "$n" ]; then
mshow -O "$tmp" "$n" | gpg -d 2>&1 || exit 0
mshow -O "$tmp" "$n" | gpg2 -d 2>&1 || exit 0
exit 64
fi
exit 63

Loading…
Cancel
Save