From 3ceb12a24443ddce4c5b23db55e337064ade7996 Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Tue, 15 Oct 2024 08:20:14 +0200 Subject: [PATCH] chore(default-flatpaks): Add `no_title_modify=false` at the start of the condition logic --- modules/default-flatpaks/v1/system-flatpak-setup | 1 + modules/default-flatpaks/v1/user-flatpak-setup | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/default-flatpaks/v1/system-flatpak-setup b/modules/default-flatpaks/v1/system-flatpak-setup index d215daf..e96210e 100755 --- a/modules/default-flatpaks/v1/system-flatpak-setup +++ b/modules/default-flatpaks/v1/system-flatpak-setup @@ -86,6 +86,7 @@ REPO_TITLE=$(yq '.repo-title' $REPO_INFO) # Flatpak add remote is ran for some reason, even with --if-not-exists flag, apparently, it modifies the URL # We cannot compare repo URLs properly # Flatpak outputs repo URL, while we have flatpakref URL, which is not the same +no_title_modify=false readarray -t CURRENT_REPO_INFO < <(flatpak remotes --system --columns=name,url,title) for index in "${CURRENT_REPO_INFO[@]}"; do CURRENT_REPO_NAMES+=("$(echo "${index}" | awk '{print $1}')") diff --git a/modules/default-flatpaks/v1/user-flatpak-setup b/modules/default-flatpaks/v1/user-flatpak-setup index a5d73cf..cdcfe14 100755 --- a/modules/default-flatpaks/v1/user-flatpak-setup +++ b/modules/default-flatpaks/v1/user-flatpak-setup @@ -73,6 +73,7 @@ REPO_TITLE=$(yq '.repo-title' $REPO_INFO) # Flatpak add remote is ran for some reason, even with --if-not-exists flag, apparently, it modifies the URL # We cannot compare repo URLs properly # Flatpak outputs repo URL, while we have flatpakref URL, which is not the same +no_title_modify=false readarray -t CURRENT_REPO_INFO < <(flatpak remotes --user --columns=name,url,title) for index in "${CURRENT_REPO_INFO[@]}"; do CURRENT_REPO_NAMES+=("$(echo "${index}" | awk '{print $1}')")