mirror of
https://github.com/Snigdha-OS/snigdhaos-blackbox.git
synced 2025-09-21 20:15:02 +02:00
⏳ @eshanized updated the repository!!!
This commit is contained in:
@@ -773,7 +773,7 @@ class Main(Gtk.Window):
|
||||
if (
|
||||
"# This file was auto-generated by the ArchLinux Tweak Tool on"
|
||||
in lines[0]
|
||||
or "# This file was auto-generated by Sofirem on"
|
||||
or "# This file was auto-generated by BlackBox on"
|
||||
in lines[0]
|
||||
):
|
||||
fn.logger.info("Package list file is valid")
|
||||
@@ -1202,12 +1202,12 @@ class Main(Gtk.Window):
|
||||
|
||||
|
||||
def signal_handler(sig, frame):
|
||||
fn.logger.info("Sofirem is closing.")
|
||||
if os.path.exists("/tmp/sofirem.lock"):
|
||||
os.unlink("/tmp/sofirem.lock")
|
||||
fn.logger.info("BlackBox is closing.")
|
||||
if os.path.exists("/tmp/blackbox.lock"):
|
||||
os.unlink("/tmp/blackbox.lock")
|
||||
|
||||
if os.path.exists("/tmp/sofirem.pid"):
|
||||
os.unlink("/tmp/sofirem.pid")
|
||||
if os.path.exists("/tmp/blackbox.pid"):
|
||||
os.unlink("/tmp/blackbox.pid")
|
||||
Gtk.main_quit(0)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user