Skip to content

Commit 540a45e

Browse files
authored
Make udev rules obey $DESTDIR on Linux
1 parent a1e2d1c commit 540a45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.linux

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ install : $(APPS) direwolf.conf tocalls.txt symbols-new.txt symbolsX.txt dw-icon
680680
# Set group and mode of HID devices corresponding to C-Media USB Audio adapters.
681681
# This will allow us to use the CM108/CM119 GPIO pins for PTT.
682682
#
683-
$(INSTALL) -D --mode=644 99-direwolf-cmedia.rules /etc/udev/rules.d/99-direwolf-cmedia.rules
683+
$(INSTALL) -D --mode=644 99-direwolf-cmedia.rules $(DESTDIR)/etc/udev/rules.d/99-direwolf-cmedia.rules
684684
#
685685
@echo " "
686686
@echo "If this is your first install, not an upgrade, type this to put a copy"

0 commit comments

Comments
 (0)