From 84e31db2f3242b709c5d310a63ee2dc720c67d3f Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 26 Mar 2022 08:02:21 +0100 Subject: Avoid sudo in Makefile The user should care about priviledge escalation because there are also alternatives to sudo (like doas). --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3315f2d..4bdd4f5 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,10 @@ install: all mkdir -p $(HOME)/.config/xbot/ touch $(HOME)/.config/xbot/profile.ini chmod 600 $(HOME)/.config/xbot/profile.ini - sudo $(INSTALL_PROGRAM) $(TARGET_EXEC) $(bindir)/xbot + $(INSTALL_PROGRAM) $(TARGET_EXEC) $(bindir)/xbot uninstall: - sudo rm -f $(bindir)/xbot + rm -f $(bindir)/xbot clean: rm -r build -- cgit v1.2.3-70-g09d2