1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-07 23:27:48 +02:00

speedo: Check that wget and gpgv are installed.

* build-aux/getswdb.sh: Check for required tools.
This commit is contained in:
Werner Koch 2014-09-18 16:00:34 +02:00
parent 2427bc5bc7
commit 59b6f6f16e

View File

@ -94,6 +94,12 @@ fi
version=$(cat "$srcdir/../VERSION") version=$(cat "$srcdir/../VERSION")
version_num=$(echo "$version" | cvtver) version_num=$(echo "$version" | cvtver)
if ! $GPGV --version >/dev/null 2>/dev/null ; then
echo "command \"gpgv\" is not installed" >&2
echo "(please install an older version of GnuPG)" >&2
exit 1
fi
# #
# Download the list and verify. # Download the list and verify.
# #
@ -107,6 +113,11 @@ if [ $skip_download = yes ]; then
exit 1 exit 1
fi fi
else else
if ! $WGET --version >/dev/null 2>/dev/null ; then
echo "command \"wget\" is not installed" >&2
exit 1
fi
if ! $WGET -q -O swdb.lst "$urlbase/swdb.lst" ; then if ! $WGET -q -O swdb.lst "$urlbase/swdb.lst" ; then
echo "download of swdb.lst failed." >&2 echo "download of swdb.lst failed." >&2
exit 1 exit 1