Fix incorrect script

This commit is contained in:
Manuel Thalmann 2024-03-20 17:03:43 +01:00
parent 90f85e227d
commit 7fa3450984

View file

@ -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;