From c058642269dca4c4baa5346e6bdad82b29394e9a Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 10 May 2026 19:36:57 +0200 Subject: [PATCH] lupdate path --- .ci/update_translation_source_strings.sh | 4 ++-- .github/workflows/translations-push.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.ci/update_translation_source_strings.sh b/.ci/update_translation_source_strings.sh index 884858e70..859baccbd 100755 --- a/.ci/update_translation_source_strings.sh +++ b/.ci/update_translation_source_strings.sh @@ -31,7 +31,7 @@ if [[ ! -e $FILE ]]; then fi # print version -if ! lupdate -version; then +if ! /usr/lib/qt6/bin/lupdate -version; then echo "failed to run lupdate" >&2 exit 4; fi @@ -39,7 +39,7 @@ fi # run lupdate, duplicating the output in stderr and saving it # for convenience we ignore that $DIRS will be split on spaces # shellcheck disable=SC2086 -if ! got="$(lupdate $DIRS -ts "$FILE" | tee /dev/stderr)"; then +if ! got="$(/usr/lib/qt6/bin/lupdate $DIRS -ts "$FILE" | tee /dev/stderr)"; then echo "failed to update $FILE with $DIRS" >&2 exit 4; fi diff --git a/.github/workflows/translations-push.yml b/.github/workflows/translations-push.yml index ad5b1c170..9e236c621 100644 --- a/.github/workflows/translations-push.yml +++ b/.github/workflows/translations-push.yml @@ -27,7 +27,6 @@ jobs: run: | sudo apt-get update sudo apt-get install -y --no-install-recommends qt6-l10n-tools - lupdate -version - name: Update Cockatrice translation source id: cockatrice