summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-11 07:36:52 +0100
committerErich Eckner <git@eckner.net>2020-03-11 07:36:52 +0100
commit3644490e946e74da62808b8c4f7aae48ed0b19cb (patch)
treee1bbd7eb7d9b71c19aeebcb2f8d936a625b9c2ea
parente11f91b7b9ab2d4075773cc8ed42a26930276d7b (diff)
downloadarchlinuxewe-3644490e946e74da62808b8c4f7aae48ed0b19cb.tar.xz
neuesPerlPaket, checkVersions: socks5 -> socks5h
-rwxr-xr-xcheckVersions2
-rwxr-xr-xneuesPerlPaket4
2 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index ed802ea7c..f6773fa7f 100755
--- a/checkVersions
+++ b/checkVersions
@@ -34,7 +34,7 @@ curl_it() {
fi
tmp_file=$(mktemp)
for i in {1..5}; do
- curl --compressed -o "${tmp_file}" --connect-timeout 10 -s -x socks5://127.0.0.1:9050 "$@" "${source}"
+ curl --compressed -o "${tmp_file}" --connect-timeout 10 -s -x socks5h://127.0.0.1:9050 "$@" "${source}"
if grep -qiF "$(
printf '%s\n' \
'access denied' \
diff --git a/neuesPerlPaket b/neuesPerlPaket
index d92c950eb..285378baa 100755
--- a/neuesPerlPaket
+++ b/neuesPerlPaket
@@ -52,7 +52,7 @@ fi
. perlFunktionen
-seitenInhalt="$(curl -x socks5://127.0.0.1:9050 -Ss "${url}")"
+seitenInhalt="$(curl -x socks5h://127.0.0.1:9050 -Ss "${url}")"
pkgver="$(
echo "${seitenInhalt}" | \
@@ -82,7 +82,7 @@ dlUrlForPKGBUILD="$(
mkdir "${pkgname}"
cd "${pkgname}"
-curl -x socks5://127.0.0.1:9050 -Ss -o "${dlUrl##*/}" "${dlUrl}"
+curl -x socks5h://127.0.0.1:9050 -Ss -o "${dlUrl##*/}" "${dlUrl}"
if echo "${dlUrl}" | \
grep -q "/${cpanName}-v[0-9.]\+\.tar\.gz\$"; then