summarylogtreecommitdiffstats
path: root/00-fix-sbin.patch
blob: 6ddf8dc17ca4f430117b559a76bf1e723ae34d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/Makefile	2022-10-18 20:31:00.780113857 -0700
+++ b/Makefile	2022-10-18 20:31:14.680216830 -0700
@@ -9,13 +9,13 @@
 	$(CXX) $(CXXFLAGS) $(cppfiles) -o $(name)
 
 install: $(name)
-	mkdir -p $(DESTDIR)/usr/sbin
+	mkdir -p $(DESTDIR)/usr/bin
 	mkdir -p $(DESTDIR)/usr/lib/systemd/system
-	install -m 540 $(name) $(DESTDIR)/usr/sbin
+	install -m 540 $(name) $(DESTDIR)/usr/bin
 	install -m 644 $(name).service $(DESTDIR)/usr/lib/systemd/system
 
 uninstall:
-	rm -f $(DESTDIR)/usr/sbin/$(name)
+	rm -f $(DESTDIR)/usr/bin/$(name)
 	rm -f $(DESTDIR)/usr/lib/systemd/system/$(name).service
 
 clean: