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
begin
set -l dir (status dirname)
set -l base "$dir/../../../Common/Software/aliae/main.fish"
source "$dir/../../Scripts/software.fish"
function installSW
@ -8,8 +9,12 @@ begin
aliae-bin
end
function configureSW -V dir
fish "$dir/../../../Common/Software/aliae/main.fish" configure
function configureSW -V base
fish "$base" configure
end
function userConfig -V base
fish "$base" userConfig $argv
end
runInstaller $argv

View file

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