mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
We need to follow redirect with Curl (#4456)
* We need to follow redirect with Curl * Update armbian-apt-updates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user