From 088dd8a652c00cd6b57d8ac56cdb2317d4382683 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Fri, 19 Apr 2024 02:43:09 +0530 Subject: [PATCH] =?UTF-8?q?=E2=8F=B3=20@eshanized=20updated=20the=20reposi?= =?UTF-8?q?tory!!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/share/blackbox/Functions.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/usr/share/blackbox/Functions.py b/usr/share/blackbox/Functions.py index 5b2921f..40f3609 100644 --- a/usr/share/blackbox/Functions.py +++ b/usr/share/blackbox/Functions.py @@ -82,7 +82,7 @@ config_file = "%s/blackbox.yaml" % config_dir event_log_file = "%s/event.log" % log_dir -export_dir = "%s/sofirem-exports" % home +export_dir = "%s/blackbox-exports" % home # ===================================================== @@ -131,7 +131,7 @@ except os.error as oe: print("[ERROR] Exception in setup log/export directory: %s" % oe) sys.exit(1) -# read in conf file from $HOME/.config/sofirem/sofirem.yaml +# read in conf file from $HOME/.config/blackbox/blackbox.yaml # initialize logger try: settings = Settings(False, False) @@ -545,7 +545,7 @@ def refresh_ui(self, action, switch, pkg, progress_dialog, process_stdout_lst): message_dialog = MessageDialog( "Warning", - "Sofirem cannot proceed pacman lockfile found", + "BlackBox cannot proceed pacman lockfile found", "Pacman cannot lock the db, a lockfile is found inside %s" % fn.pacman_lockfile, "Pacman is running: %s" % proc, @@ -566,7 +566,7 @@ def refresh_ui(self, action, switch, pkg, progress_dialog, process_stdout_lst): message_dialog = MessageDialog( "Error", "Pacman repository error: package '%s' was not found" % pkg.name, - "Sofirem cannot process the request", + "BlackBox cannot process the request", "Are the correct pacman mirrorlists configured ?", "error", False, @@ -1493,7 +1493,7 @@ def obtain_pkg_description(package): def restart_program(): - os.unlink("/tmp/sofirem.lock") + os.unlink("/tmp/blackbox.lock") python = sys.executable os.execl(python, python, *sys.argv) @@ -2753,7 +2753,7 @@ def log_package_status(self): self.pkg_err_queue.task_done() with open(self.logfile, "w") as f: f.write( - "# This file was auto-generated by Sofirem on %s at %s\n" + "# This file was auto-generated by BlackBox on %s at %s\n" % ( datetime.today().date(), datetime.now().strftime("%H:%M:%S"), @@ -2773,7 +2773,7 @@ def log_package_status(self): break -# open sofirem log directory +# open blackbox log directory def open_log_dir(): try: subprocess.Popen(