Update install.py
This commit is contained in:
@@ -7,8 +7,8 @@ is_linux = os_type == "linux"
|
||||
is_macos = os_type == "darwin"
|
||||
is_windows = os_type == "windows"
|
||||
|
||||
is_debian = os.system('apt --version > /dev/null 2>&1') >> 8 == 0
|
||||
is_rhel = os.system('dnf --version > /dev/null 2>&1') >> 8 == 0
|
||||
is_debian = is_linux and os.system('apt --version > /dev/null 2>&1') >> 8 == 0
|
||||
is_rhel = is_linux and os.system('dnf --version > /dev/null 2>&1') >> 8 == 0
|
||||
|
||||
def check_os():
|
||||
if is_linux or is_macos or is_windows:
|
||||
|
||||
Reference in New Issue
Block a user