Configure aliae
for individual Linux users
This commit is contained in:
parent
40ea007b77
commit
b1b067bdb6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue