Update install.py
This commit is contained in:
@@ -3,7 +3,7 @@ import os
|
|||||||
def check_os():
|
def check_os():
|
||||||
"""Checks the operating system and prints a message accordingly."""
|
"""Checks the operating system and prints a message accordingly."""
|
||||||
|
|
||||||
os_type = os.uname().system.lower() # Get OS name, lowercase for consistency
|
os_type = os.uname().sysname.lower()
|
||||||
|
|
||||||
if os_type == "linux":
|
if os_type == "linux":
|
||||||
print("Running on Linux")
|
print("Running on Linux")
|
||||||
|
|||||||
Reference in New Issue
Block a user