From 433fe1449a1cdce0b9ea166092ea2d7ba01432fe Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 01:12:05 +0800 Subject: [PATCH] Update message --- .github/workflows/dist-update-notification.yml | 2 +- scriptdata/step/1.install-deps-selector.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 4dcdb5b53..cb16d9ff4 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -17,7 +17,7 @@ jobs: # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment run: | MESSAGE="**Auto notification:**\n" - MESSAGE="Directory \`dist-arch\` has been updated.\n" + MESSAGE+="Directory \`dist-arch\` has been updated.\n" MESSAGE+="Commit HASH: ${{ github.sha }}\n" MESSAGE+="Commit message: ${{ github.event.head_commit.message }}" REPO_OWNER="${{ github.repository_owner }}" diff --git a/scriptdata/step/1.install-deps-selector.sh b/scriptdata/step/1.install-deps-selector.sh index 34dbe1d1a..716bdd0f4 100644 --- a/scriptdata/step/1.install-deps-selector.sh +++ b/scriptdata/step/1.install-deps-selector.sh @@ -107,9 +107,9 @@ elif [[ -f "./dist-${OS_DISTRO_ID}/install-deps.sh" ]]; then printf "${STY_BOLD}===URGENT===${STY_RED}\n" printf "The community provided ./dist-${TARGET_ID}/ is not updated (update status: ${tmp_update_status}),\n" printf "which means it does not fully reflect the latest changes of ./dist-arch/ .\n" - printf "You are highly recommended to abort this script, until someone (maybe you?) has updated the ./dist-${TARGET_ID}/ to fully reflect the latest changes in ./dist-arch/ . PR is welcomed.\n" - printf "For commit history on ./dist-arch/, see\n" - printf "${STY_UNDERLINE}https://github.com/end-4/dots-hyprland/commits/main/dist-arch${STY_RESET}\n" + printf "You are highly recommended to abort this script, until someone (maybe you?) has updated the ./dist-${TARGET_ID}/ to fully reflect the latest changes in ./dist-arch/ .\n" + printf "PR is welcomed. Please see discussion#2140 for details.\n" + printf "${STY_UNDERLINE}https://github.com/end-4/dots-hyprland/discussions/2140${STY_RESET}\n" printf "${STY_RED}${STY_INVERT}If you are proceeding anyway, illogical-impulse will very likely not work as expected.${STY_RESET}\n" printf "${STY_RED}Still proceed?${STY_RESET}\n" read -p "[y/N]: " p