Configure git for Linux users properly

This commit is contained in:
Manuel Thalmann 2024-09-19 22:00:08 +02:00
parent 2c3c5dd888
commit dce71478e7
3 changed files with 9 additions and 4 deletions
scripts/Common/Software/git

View file

@ -7,7 +7,7 @@ param (
. "$PSScriptRoot/../../Scripts/System.ps1";
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
$null = New-Module {
& {
param(
[hashtable] $Parameters
)

View file

@ -8,7 +8,7 @@ begin
end
function userConfig -S -V dir -a name
configureGit "$name"
pwsh -CommandWithArgs '& $args[0] ConfigureUser @{ name=$args[1]; }' "$dir/Manage.ps1" $name
end
runInstaller $argv