diff --git a/Install-Lers.ps1 b/Install-Lers.ps1 index 680d396..ab34b1f 100644 --- a/Install-Lers.ps1 +++ b/Install-Lers.ps1 @@ -89,7 +89,7 @@ $osRelease = Get-Content /etc/os-release | ConvertFrom-StringData # Проверяем установлен ли Docker -if (IsInstalled-Docker) { +if (Get-Command "docker" -ErrorAction SilentlyContinue) { Write-Host "Docker установлен." } else {