summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-06 21:12:07 +0100
committerErich Eckner <git@eckner.net>2019-01-06 21:12:07 +0100
commit455ec3144a0510841258c8e5ba5e4e77605f17b2 (patch)
treebc94ceceff08b10d722dc706b757e0752d83454f
parent53d50631b807847e1cdc3bc20f5e905cb8fefb13 (diff)
downloadarchlinuxewe-455ec3144a0510841258c8e5ba5e4e77605f17b2.tar.xz
neuesPerlPaket: download via tor
-rwxr-xr-xneuesPerlPaket4
1 files changed, 2 insertions, 2 deletions
diff --git a/neuesPerlPaket b/neuesPerlPaket
index d0313eee8..0d513ed4e 100755
--- a/neuesPerlPaket
+++ b/neuesPerlPaket
@@ -52,7 +52,7 @@ fi
. perlFunktionen
-seitenInhalt="$(curl -Ss "${url}")"
+seitenInhalt="$(curl -x socks5://127.0.0.1:9050 -Ss "${url}")"
pkgver="$(
echo "${seitenInhalt}" | \
@@ -82,7 +82,7 @@ dlUrlForPKGBUILD="$(
mkdir "${pkgname}"
cd "${pkgname}"
-wget -nd "${dlUrl}"
+curl -x socks5://127.0.0.1:9050 -Ss -o "${dlUrl##*/}" "${dlUrl}"
if echo "${dlUrl}" | \
grep -q "/${cpanName}-v[0-9.]\+\.tar\.gz\$"; then