Pi66

pind
Simple Rust hotkey daemon.
git clone https://git.pi66.xyz/pind

← back to log

fix: remove unnecessary sudo from config install.

author: pi66
date: 2025-09-04 22:13
hash: 454b645525a0543754deaa517e1f812fda3c05f6

Diffstat:

M

Makefile
4 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
diff --git a/Makefile b/Makefile
index 516f5e5..0e895f1 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,8 @@ install: build
    sudo cp ./pindc $(INSTALL_DIR)/
    sudo chmod 755 $(INSTALL_DIR)/pindc
    sudo chmod 755 $(INSTALL_DIR)/pindd
-   sudo mkdir -p $(CONFIG_DIR)
-   sudo cp -n pindrc $(CONFIG_DIR)
+   mkdir -p $(CONFIG_DIR)
+   cp -n pindrc $(CONFIG_DIR)

 uninstall:
    sudo rm /usr/local/bin/pindd