summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-03-26 08:02:21 +0100
committerxengineering <me@xengineering.eu>2022-03-26 08:02:21 +0100
commit84e31db2f3242b709c5d310a63ee2dc720c67d3f (patch)
treef44472df44b8c843c5d0fd4c3919ea361dad689d /Makefile
parentb44e498555143bf0afcb96efcf5531cd14b28fcb (diff)
downloadxbot-main.tar
xbot-main.tar.zst
xbot-main.zip
Avoid sudo in MakefileHEADmain
The user should care about priviledge escalation because there are also alternatives to sudo (like doas).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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