fixed erroneous gpg dep
This commit is contained in:
parent
623e54e7a0
commit
4ddc27cbf2
11
protonkey
11
protonkey
@ -24,15 +24,10 @@ if test -z "$1"; then
|
|||||||
exit 64 # syexits(3) EX_USAGE
|
exit 64 # syexits(3) EX_USAGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for command in \
|
if ! command -v curl > /dev/null; then
|
||||||
curl \
|
printf "%s: Missing dependency: curl(1)\n" "$0" 1>&2
|
||||||
gpg
|
|
||||||
do
|
|
||||||
if ! command -v "$command" > /dev/null; then
|
|
||||||
printf "%s: Missing dependency: %s(1)\n" "$0" "$command" 1>&2
|
|
||||||
exit 69 # sysexits(3) EX_UNAVAILABLE
|
exit 69 # sysexits(3) EX_UNAVAILABLE
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
while test -n "$1"; do
|
||||||
URL="https://api.protonmail.ch/pks/lookup?op=get&search=$1"
|
URL="https://api.protonmail.ch/pks/lookup?op=get&search=$1"
|
||||||
|
Reference in New Issue
Block a user