Configure aliae
for individual Linux users
This commit is contained in:
parent
40ea007b77
commit
b1b067bdb6
2 changed files with 11 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue