From 336ede5c65afb423a241f27cecde110d22aceac2 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 1 Oct 2020 12:13:45 +0200 Subject: [PATCH] Replaced wget in favor of curl --- conf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.sh b/conf.sh index ea3d87d..e78ee92 100644 --- a/conf.sh +++ b/conf.sh @@ -14,5 +14,5 @@ else fi ###Fetching Confgs -wget -t7 "$mrepo"/raw/branch/"$mbranch"/config/Universal_20auto-upgrades -O /etc/apt/apt.conf.d/20auto-upgrades > $OUTPUT 2>&1 -wget -t7 "$mrepo"/raw/branch/"$mbranch"/config/"$LinVer"_50unattended-upgrades -O /etc/apt/apt.conf.d/50unattended-upgrades > $OUTPUT 2>&1 \ No newline at end of file +curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/Universal_20auto-upgrades -o /etc/apt/apt.conf.d/20auto-upgrades > $OUTPUT 2>&1 +curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/"$LinVer"_50unattended-upgrades -o /etc/apt/apt.conf.d/50unattended-upgrades > $OUTPUT 2>&1 \ No newline at end of file