From 4ebf214acca02155dc3d2a9cd7ed9b1cf59a28fd Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 10 Aug 2024 00:22:46 +0200 Subject: [PATCH] Force creation of `sudo` alias --- scripts/Common/Scripts/Operations.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Scripts/Operations.ps1 b/scripts/Common/Scripts/Operations.ps1 index d0580fce..3381a2a7 100644 --- a/scripts/Common/Scripts/Operations.ps1 +++ b/scripts/Common/Scripts/Operations.ps1 @@ -27,7 +27,7 @@ $null = New-Module { $env:CONFIG_MODULE = Resolve-Path $env:CONFIG_MODULE; } - New-Alias "sudo" gsudo; + New-Alias -Force "sudo" gsudo; & $Action; }