Configure aliae for individual Linux users

This commit is contained in:
Manuel Thalmann 2024-09-19 21:56:32 +02:00
parent 40ea007b77
commit b1b067bdb6
2 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#!/bin/env fish #!/bin/env fish
begin begin
set -l dir (status dirname) set -l dir (status dirname)
set -l base "$dir/../../../Common/Software/aliae/main.fish"
source "$dir/../../Scripts/software.fish" source "$dir/../../Scripts/software.fish"
function installSW function installSW
@ -8,8 +9,12 @@ begin
aliae-bin aliae-bin
end end
function configureSW -V dir function configureSW -V base
fish "$dir/../../../Common/Software/aliae/main.fish" configure fish "$base" configure
end
function userConfig -V base
fish "$base" userConfig $argv
end end
runInstaller $argv runInstaller $argv

View file

@ -40,5 +40,9 @@ begin
end end
end end
function userConfig -V dir -a user
pwsh -CommandWithArgs '& $args[0] ConfigureUser @{ name=$args[1]; }' "$dir/Main.ps1" $user
end
runInstaller $argv runInstaller $argv
end end