[Gpg4win-commits] r80 - trunk/packages
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Tue Nov 29 11:50:24 CET 2005
Author: werner
Date: 2005-11-29 11:50:24 +0100 (Tue, 29 Nov 2005)
New Revision: 80
Modified:
trunk/packages/download.sh
Log:
Typo fixes and checking download error
Modified: trunk/packages/download.sh
===================================================================
--- trunk/packages/download.sh 2005-11-29 10:44:16 UTC (rev 79)
+++ trunk/packages/download.sh 2005-11-29 10:50:24 UTC (rev 80)
@@ -36,7 +36,12 @@
WGET=wget
-${WGET} -N ftp://ftp.gpw4win.org/gpg4win/packages.current{,.sig}
+url="ftp://ftp.gpg4win.org/gpg4win/"
+echo "downloading packages list from \`$url'."
+if ! ${WGET} -N -q $url/packages.current{,.sig} ; then
+ echo "download of packages list failed." >&2
+ exit 1
+fi
if ! gpgv --keyring ./packages.keys packages.current.sig packages.current
then
More information about the Gpg4win-commits
mailing list