Pi66

Home | Repos | About | Blog | Gaza

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

About | Files | Commits | Refs | License


enhanced UX and error messages

Author: pixel2175
Date: 2024-12-21 15:50
commit: d70bf9c1

Stat

A uninstall.py 4 +4 -0

Diff

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"):

// Created by Pi66

// Copyright ©Pi66 2026