We need to follow redirect with Curl (#4456)
* We need to follow redirect with Curl * Update armbian-apt-updates
This commit is contained in:
parent
86fce751a5
commit
d01e3519a8
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user