From bc62c8cd42530f5ec7418775fb7cdc6e2fae5832 Mon Sep 17 00:00:00 2001 From: TheLinuxBug <106682345+TheLinuxBug@users.noreply.github.com> Date: Sat, 11 Mar 2023 16:03:40 -0500 Subject: [PATCH] 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. --- lib/functions/logging/export-logs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions/logging/export-logs.sh b/lib/functions/logging/export-logs.sh index 0a6b8f9ef0..5fbb190841 100644 --- a/lib/functions/logging/export-logs.sh +++ b/lib/functions/logging/export-logs.sh @@ -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