From 39e1542466dab800499594534c4abd4ea8489bab Mon Sep 17 00:00:00 2001 From: xSlendiX Date: Wed, 8 Sep 2021 01:49:41 +0300 Subject: [PATCH] Add uninstall target --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 3214fe8..69ddaa3 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,10 @@ else chmod 4711 /usr/bin/sus endif +uninstall: clean +ifneq ($(shell id -u), 0) + @echo "You must be root to perform this action." +else + rm -f /usr/bin/sus +endif +