Pi66

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

← back to log

enhanced UX and error messages

author: pixel2175
date: 2024-12-21 15:50
hash: d70bf9c19651d6a456129fdf40b3c27cf22dd346

Diffstat:

M

uninstall.py
4 ++++++++++++++++++++++++++++++
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
diff --git a/uninstall.py b/uninstall.py
index 14d88e1..beffed6 100644
--- a/uninstall.py
+++ b/uninstall.py
@@ -1,5 +1,9 @@
 import os

+os.system(
+    'sudo -k  > /dev/null 2>&1 && sudo -v -p "[*]- Please enter password: " > /dev/null 2>&1'
+)
+

 def get_distro():
     if os.path.isfile("/etc/os-release"):