diff --git a/bin/milis-kurulum.py b/bin/milis-kurulum.py index 600fc9dab..a4b220fe3 100644 --- a/bin/milis-kurulum.py +++ b/bin/milis-kurulum.py @@ -12,9 +12,15 @@ os.system("mps -GG") if os.path.exists("/usr/bin/pip3") is False: os.system("mps -G") time.sleep(3) - os.system("mps kur python3-pip && pip3 install pythondialog") + os.system("mps kur python3-pip") + else: - os.system("pip3 install pythondialog") + if 'pythondialog' in sys.modules: + print ("pythongialog yuklu") + else: + time.sleep(3) + os.system("pip3 install pythondialog") + if os.path.exists("/usr/bin/acp") is False: os.system("mps -G") time.sleep(3)