From 7e3e43735f1632bbfa5017e2b0c349a7e5e24a3d Mon Sep 17 00:00:00 2001 From: milisman Date: Sun, 29 Jan 2017 15:26:05 +0200 Subject: [PATCH] milis-kurulum.guncellendi --- bin/milis-kurulum.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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)