From caed9c2b6bd84b3df9073fb1e4b04af4153a94ac Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Mon, 14 Oct 2024 23:09:36 +0200 Subject: [PATCH] chore(default-flatpaks): Add log message for setting custom remote title --- modules/default-flatpaks/v1/system-flatpak-setup | 2 ++ modules/default-flatpaks/v1/user-flatpak-setup | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/default-flatpaks/v1/system-flatpak-setup b/modules/default-flatpaks/v1/system-flatpak-setup index c30325a..b3de46d 100755 --- a/modules/default-flatpaks/v1/system-flatpak-setup +++ b/modules/default-flatpaks/v1/system-flatpak-setup @@ -118,6 +118,8 @@ fi if [[ $REPO_TITLE != "null" ]] && ! ${no_title_modify}; then echo "Setting title $REPO_TITLE for remote $REPO_NAME" flatpak remote-modify --system "$REPO_NAME" --title="$REPO_TITLE" +elif [[ $REPO_TITLE != "null" ]] && ${no_title_modify}; then + echo "Custom flatpak remote title is already set" fi # Notifications config diff --git a/modules/default-flatpaks/v1/user-flatpak-setup b/modules/default-flatpaks/v1/user-flatpak-setup index f49eae2..0d1b4b6 100755 --- a/modules/default-flatpaks/v1/user-flatpak-setup +++ b/modules/default-flatpaks/v1/user-flatpak-setup @@ -97,6 +97,8 @@ fi if [[ $REPO_TITLE != "null" ]] && ! ${no_title_modify}; then echo "Setting title $REPO_TITLE for remote $REPO_NAME" flatpak remote-modify --user "$REPO_NAME" --title="$REPO_TITLE" +elif [[ $REPO_TITLE != "null" ]] && ${no_title_modify}; then + echo "Custom flatpak remote title is already set" fi # Notifications config