From 5653cea25a0975ab0e4b3e80503f60d34aec3471 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