Skip to content

Commit

Permalink
fix oracle linux
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Feb 18, 2024
1 parent 192fdef commit 24f6309
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install_python_venv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ function Get-Linux-Distro-Name {
if (Test-Path "/etc/os-release") {
if ($osInfo -match '\nID="?([^"\n]*)"?') {
$distroName = $Matches[1].Trim('"')
if ($distroName -eq "ol") {
return "fedora"
}
return $distroName
}
}
Expand Down

0 comments on commit 24f6309

Please sign in to comment.