Pi66

pino
Python notification daemon.
git clone https://git.pi66.xyz/pino

← back to log

fix libs installer

author: Pixel2175
date: 2024-12-19 19:00
hash: c10333effd254b30006c039fb46c686d477fe804

Diffstat:

M

install.py
4 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/install.py b/install.py
index 6d41329..ba54d48 100644
--- a/install.py
+++ b/install.py
@@ -52,7 +52,7 @@ def install_pip():
 def install_system_deps():
     if distro in ["ubuntu", "debian"]:
         os.system("sudo apt-get update > /dev/null 2>&1")
-        os.system("sudo apt-get install -y tk > /dev/null 2>&1")
+        os.system("sudo apt-get install -y tk python3-tk > /dev/null 2>&1")
         print("Dependencies: Done")
     elif distro == "fedora":
         os.system("sudo dnf install -y tk > /dev/null 2>&1")
@@ -65,7 +65,7 @@ def install_system_deps():
         os.system("sudo pacman -S --noconfirm tk > /dev/null 2>&1")
         print("Dependencies: Done")
     elif distro == "void":
-        os.system("sudo xbps-install -y tk > /dev/null 2>&1")
+        os.system("sudo xbps-install -y tk python3-tkinter > /dev/null 2>&1")
         print("Dependencies: Done")
     else:
         print("Unsupported distribution. Please install system dependencies manually.")