Fix inheritance of user config
This commit is contained in:
parent
ec1368950e
commit
2af3a6de6f
2 changed files with 56 additions and 69 deletions
scripts/Common/Software/rclone
|
@ -9,7 +9,7 @@ begin
|
|||
|
||||
function userConfig -V dir -a name
|
||||
source "$dir/../../Scripts/config.fish"
|
||||
set -l key "valhalla.users.$name.rclone.configurations"
|
||||
set -l key "valhalla.linux.users.$name.rclone.configurations"
|
||||
set -l configs (getConfig "$key" --apply "builtins.attrNames" --json)
|
||||
|
||||
if [ (echo "$configs" | jq "length") -gt 0 ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue