[arch-commits] Commit in geoip-database/trunk (update.sh)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Sep 8 08:03:52 UTC 2021


    Date: Wednesday, September 8, 2021 @ 08:03:51
  Author: foutrelis
Revision: 423554

Use curl instead of wget in update script

Modified:
  geoip-database/trunk/update.sh

-----------+
 update.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: update.sh
===================================================================
--- update.sh	2021-09-08 08:01:11 UTC (rev 423553)
+++ update.sh	2021-09-08 08:03:51 UTC (rev 423554)
@@ -22,7 +22,7 @@
 ssh -T sources.archlinux.org <<-EOF
 	mkdir -p /srv/sources/other/packages/geoip-database/$version &&
 	cd       /srv/sources/other/packages/geoip-database/$version &&
-	wget -nc $upstream/GeoIP{,City,ASNum}{,v6}.dat.gz
+	curl --remote-name-all $upstream/GeoIP{,City,ASNum}{,v6}.dat.gz
 EOF
 
 sed -i -e "/^pkgver=/c pkgver=$version" -e "/^pkgrel=/c pkgrel=1" PKGBUILD



More information about the arch-commits mailing list