From 1e6d895fd73dad2b3abff5e11da27e03cfcbeb6e Mon Sep 17 00:00:00 2001 From: Zhentao-Lin <173039613@qq.com> Date: Mon, 15 Nov 2021 14:04:38 +0800 Subject: [PATCH] Update setup.py --- Code/setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Code/setup.py b/Code/setup.py index 5f8d52a..0ab060d 100644 --- a/Code/setup.py +++ b/Code/setup.py @@ -5,9 +5,8 @@ os.system("cd /usr/bin && sudo rm python && sudo ln -s python3 python") flag=0x00 for x in range(1,4): if os.system("sudo apt-get update") == 0: - if os.system("sudo apt-get upgrade -y") == 0: - flag=flag | 0x01 - break + flag=flag | 0x01 + break for x in range(1,4): if os.system("sudo apt-get install -y python3-dev python3-pyqt5 ") == 0: flag=flag | 0x02