From bd1c3caf956be6df768cb6d22d6488a02fd28015 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 20 Jul 2024 14:06:25 +0200 Subject: [PATCH] Configure for current user if none is specified --- scripts/Common/Scripts/software.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Common/Scripts/software.fish b/scripts/Common/Scripts/software.fish index af134368..cce684ba 100644 --- a/scripts/Common/Scripts/software.fish +++ b/scripts/Common/Scripts/software.fish @@ -20,6 +20,10 @@ begin source "$dir/config.fish" set -l users (getUsers) + if not isConfigured || [ "$USER" != (getConfig "valhalla.setupUser.name") ] + runInstaller userConfig + end + for name in (echo "$users" | jq '.[]' --raw-output0 | string split0) runInstaller userConfig "$name" end