We need to follow redirect with Curl (#4456)

* We need to follow redirect with Curl

* Update armbian-apt-updates
This commit is contained in:
Igor Pečovnik
2022-11-17 17:43:58 +01:00
committed by GitHub
parent 86fce751a5
commit d01e3519a8
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
curl -s -o "/etc/update-motd.d/quotes.txt" "https://dl.armbian.com/quotes.txt"
curl -L -s -o "/etc/update-motd.d/quotes.txt" "https://dl.armbian.com/quotes.txt"

View File

@@ -58,7 +58,7 @@ DATE="$(date +"%Y-%m-%d %H:%M")"
EOT
# store packages list
apt list --upgradable 2>/dev/null | grep "/" >| ${myfiles}
dpkg --list | grep ^hi | grep $(uname -r) | awk '{ print $2 }' >| ${myfiles}
exit 0