From 2d32805b7640b15dd8e4829d69438735ad446a97 Mon Sep 17 00:00:00 2001 From: jonathan Date: Fri, 17 Oct 2025 20:17:23 +0000 Subject: [PATCH] Update install.py --- install.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.py b/install.py index 3991def..7443a30 100644 --- a/install.py +++ b/install.py @@ -24,12 +24,12 @@ def check_os(): if __name__ == "__main__": check_os() if is_debian: - os.system('apt-get update && apt-get upgrade -y') + os.system('sudo apt-get update && apt-get upgrade -y') for p in linux_packages: - os.system(f'apt-get install {p} -y') + os.system(f'sudo apt-get install {p} -y') if is_rhel: - os.system('dnf upgrade -y') + os.system('sudo dnf upgrade -y') for p in linux_packages: - os.system(f'dnf install {p} -y') + os.system(f'sudo dnf install {p} -y') print(f'is_windows: {is_windows}, is_macos: {is_macos}, is_linux: {is_linux}, is_debian: {is_debian}, is_rhel: {is_rhel}') \ No newline at end of file