Fix incorrect script
This commit is contained in:
parent
90f85e227d
commit
7fa3450984
1 changed files with 1 additions and 8 deletions
|
@ -7,14 +7,7 @@ $script = New-TemporaryFile;
|
||||||
$script = Rename-Item $script "$($script.Name).sh" -PassThru;
|
$script = Rename-Item $script "$($script.Name).sh" -PassThru;
|
||||||
|
|
||||||
Write-Information "Preparing setup script";
|
Write-Information "Preparing setup script";
|
||||||
|
Set-Content $script ("bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`"");
|
||||||
Set-Content $script (
|
|
||||||
[string]::Join(
|
|
||||||
"`n",
|
|
||||||
@(
|
|
||||||
"bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`"",
|
|
||||||
"rm ~/.bashrc")));
|
|
||||||
|
|
||||||
Write-Information "Running prepared script";
|
Write-Information "Running prepared script";
|
||||||
Start-Process -Wait $script;
|
Start-Process -Wait $script;
|
||||||
Remove-Item $script;
|
Remove-Item $script;
|
Loading…
Reference in a new issue