Configure for current user if none is specified
This commit is contained in:
parent
3d9eef9dc6
commit
bd1c3caf95
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ begin
|
||||||
source "$dir/config.fish"
|
source "$dir/config.fish"
|
||||||
set -l users (getUsers)
|
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)
|
for name in (echo "$users" | jq '.[]' --raw-output0 | string split0)
|
||||||
runInstaller userConfig "$name"
|
runInstaller userConfig "$name"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue