diff --git a/Scripts/Update-AllTheThings.ps1 b/Scripts/Update-AllTheThings.ps1 index 19e817b..d4d78a2 100644 --- a/Scripts/Update-AllTheThings.ps1 +++ b/Scripts/Update-AllTheThings.ps1 @@ -290,6 +290,10 @@ function Update-AllTheThings { sudo apt update sudo apt upgrade } + if (Get-Command dnf -ErrorAction SilentlyContinue) { + Write-Host '[5] Updating dnf packages.' + sudo update + } } else { Write-Verbose '[5] Not Linux. Skipping section.' }