diff --git a/mambabase/mambabase.py b/mambabase/mambabase.py index 141b174..866a7ca 100755 --- a/mambabase/mambabase.py +++ b/mambabase/mambabase.py @@ -134,20 +134,20 @@ class InstallThread(QtCore.QThread): 'details': result.stderr.decode('UTF-8').replace('\n', '
')}) # Perform system update - self.updateProgressSignal.emit({ 'value': 10, - 'label': _("Updating installed packages..."), - 'details': _("Updating installed packages...")}) - - result = subprocess.run(['sudo', 'dnf', 'update', '-y'], - stdout=subprocess.PIPE, stderr=subprocess.PIPE) - if result.returncode == 0: - if result.stdout: - self.updateProgressSignal.emit({ - 'details': result.stdout.decode('UTF-8').replace('\n', '
')}) - else: - if result.stderr: - self.updateProgressSignal.emit({ - 'details': result.stderr.decode('UTF-8').replace('\n', '
')}) + #self.updateProgressSignal.emit({ 'value': 10, + # 'label': _("Updating installed packages..."), + # 'details': _("Updating installed packages...")}) + # + #result = subprocess.run(['sudo', 'dnf', 'update', '-y'], + # stdout=subprocess.PIPE, stderr=subprocess.PIPE) + #if result.returncode == 0: + # if result.stdout: + # self.updateProgressSignal.emit({ + # 'details': result.stdout.decode('UTF-8').replace('\n', '
')}) + #else: + # if result.stderr: + # self.updateProgressSignal.emit({ + # 'details': result.stderr.decode('UTF-8').replace('\n', '
')}) self.updateProgressSignal.emit({ 'value': 20 })