From 921aa2e03343335a01b31bba2adcbb5149f85f26 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 20 Jul 2023 21:07:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20(flatpak-sync)=20Ignore=20two=20?= =?UTF-8?q?irrelevant=20shellcheck=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flatpak-sync/flatpak-sync.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flatpak-sync/flatpak-sync.sh b/flatpak-sync/flatpak-sync.sh index 2870ed5..6150375 100755 --- a/flatpak-sync/flatpak-sync.sh +++ b/flatpak-sync/flatpak-sync.sh @@ -21,6 +21,7 @@ function sync() { continue fi requested_apps_cleaned+=("$app") + # shellcheck disable=SC2076 if [[ ! "${installed_apps[*]}" =~ "${app}" ]]; then echo "$app not installed. Installing it." flatpak install -y "$app" @@ -29,6 +30,7 @@ function sync() { echo "Checking for apps to remove." for app in "${installed_apps[@]}"; do + # shellcheck disable=SC2076 if [[ ! "${requested_apps_cleaned[*]}" =~ "${app}" ]]; then echo "$app no found in apps list. Removing it."; flatpak uninstall -y "$app"