Update export-logs.sh to use primary Armbian paste server (#4936)

Changing export-logs.sh script from posting to armbian.next.armbian.com to posting to the primary paste server which has now been upgraded at paste.armbian.com.
This commit is contained in:
TheLinuxBug
2023-03-11 16:03:40 -05:00
committed by GitHub
parent acf5810cbe
commit bc62c8cd42

View File

@@ -171,10 +171,10 @@ function export_ansi_logs() {
if [[ "${SHARE_LOG:-"no"}" == "yes" ]]; then
display_alert "SHARE_LOG=yes, uploading log" "uploading logs" "info"
declare logs_url="undetermined"
logs_url=$(curl --silent --data-binary "@${target_relative_to_src}" "https://paste.next.armbian.com/log" | xargs echo -n || true) # don't fail
logs_url=$(curl --silent --data-binary "@${target_relative_to_src}" "https://paste.armbian.com/log" | xargs echo -n || true) # don't fail
display_alert "Log uploaded, share URL:" "${logs_url}" ""
else
display_alert "Share log manually (or SHARE_LOG=yes):" "curl --data-binary @${target_relative_to_src} https://paste.next.armbian.com/log"
display_alert "Share log manually (or SHARE_LOG=yes):" "curl --data-binary @${target_relative_to_src} https://paste.armbian.com/log"
fi
fi