Skip to content

Commit

Permalink
chore(default-flatpaks): Add no_title_modify=false at the start of …
Browse files Browse the repository at this point in the history
…the condition logic
  • Loading branch information
fiftydinar authored Oct 15, 2024
1 parent ae20a02 commit 3ceb12a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/default-flatpaks/v1/system-flatpak-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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}')")
Expand Down
1 change: 1 addition & 0 deletions modules/default-flatpaks/v1/user-flatpak-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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}')")
Expand Down

0 comments on commit 3ceb12a

Please sign in to comment.