Merge branch 'master' of https://git.ictmaatwerk.com/VPS-scripts/Unattended-Security-Updates
This commit is contained in:
@@ -86,9 +86,11 @@ rm -f /tmp/pkg.list
|
||||
#General pkgList
|
||||
if curl --retry 2 --retry-delay 1 --output /dev/null --silent --head --fail "$mtype"/generic.pkg.list; then
|
||||
curl "$mtype"/generic.pkg.list >>/tmp/pkg.list
|
||||
printf " " >>/tmp/pkg.list
|
||||
fi
|
||||
if curl --retry 2 --retry-delay 1 --output /dev/null --silent --head --fail "$mtype"/"$PKGLIST".pkg.list; then
|
||||
curl "$mtype"/"$PKGLIST".pkg.list >>/tmp/pkg.list
|
||||
printf " " >>/tmp/pkg.list
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user