From 5395874a10573147a121f16c979261904c2ca381 Mon Sep 17 00:00:00 2001 From: MelianMiko Date: Sun, 17 Nov 2024 15:30:26 +0700 Subject: [PATCH] [Fix] Build on Fedora & GH Actions --- scripts/bump_version.py | 4 +++- scripts/make.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/bump_version.py b/scripts/bump_version.py index 4dc2db8..887cb8d 100644 --- a/scripts/bump_version.py +++ b/scripts/bump_version.py @@ -115,7 +115,9 @@ def bump_debian(path: Path): def bump_metainfo(line: str): if not line.strip().startswith(''): return line - non_nerd_changelog = CHANGELOG[:CHANGELOG.index('')] + non_nerd_changelog = 'Not provided' + if '' in CHANGELOG: + non_nerd_changelog = CHANGELOG[:CHANGELOG.index('')] new_data = [ line, f' ', diff --git a/scripts/make.py b/scripts/make.py index 78eb669..7f1db68 100755 --- a/scripts/make.py +++ b/scripts/make.py @@ -30,6 +30,7 @@ ] QT_L_RELEASE_PATH_OPTIONS = [ "/usr/lib/qt6/bin/lrelease", + "/usr/lib64/qt6/bin/lrelease", "/usr/bin/lrelease", "lrelease", ]