From 38f62a4a59b1e740a300df9017827dbfd5d7d5da Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 5 Dec 2024 16:01:41 +0100 Subject: [PATCH] Prevent unnecessary config fetches --- scripts/lib/software.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/software.fish b/scripts/lib/software.fish index 29dbca60..06082ad4 100755 --- a/scripts/lib/software.fish +++ b/scripts/lib/software.fish @@ -130,7 +130,7 @@ begin functions -e "$dependencyFunction" end - if isProgramEnabled $args || $force + if $force || isProgramEnabled $args set install true else set install false @@ -180,7 +180,7 @@ begin set -a args --user "$user" end - if isProgramEnabled $args || $force + if $force || isProgramEnabled $args set install true else set install false