Configure git
for Linux users properly
This commit is contained in:
parent
2c3c5dd888
commit
dce71478e7
3 changed files with 9 additions and 4 deletions
scripts/Common/Software/git
|
@ -7,7 +7,7 @@ param (
|
|||
. "$PSScriptRoot/../../Scripts/System.ps1";
|
||||
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
& {
|
||||
param(
|
||||
[hashtable] $Parameters
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue