1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Update make install (add ln g410-led, g610-led and g910-led

This commit is contained in:
MatMoul 2017-01-05 00:35:27 +01:00
parent 3f92a41d31
commit 3762d5b653

View File

@ -23,9 +23,12 @@ install:
@sudo cp sample_profiles/* /etc/$(PROGN)/samples
@sudo cp udev/$(PROGN).rules /etc/udev/rules.d
@sudo cp bin/$(PROGN) /usr/bin
@sudo ln -s /usr/bin/g810-led /usr/bin/g410-led
@sudo ln -s /usr/bin/g810-led /usr/bin/g610-led
@sudo ln -s /usr/bin/g810-led /usr/bin/g910-led
@sudo rm /usr/bin/g410-led
@sudo rm /usr/bin/g610-led
@sudo rm /usr/bin/g910-led
@sudo ln -s /usr/bin/$(PROGN) /usr/bin/g410-led
@sudo ln -s /usr/bin/$(PROGN) /usr/bin/g610-led
@sudo ln -s /usr/bin/$(PROGN) /usr/bin/g910-led
@sudo test -s /etc/$(PROGN)/profile || sudo cp /etc/$(PROGN)/samples/group_keys /etc/$(PROGN)/profile
@sudo test -s /etc/$(PROGN)/reboot || sudo cp /etc/$(PROGN)/samples/all_off /etc/$(PROGN)/reboot
@sudo cp systemd/$(PROGN).service /lib/systemd/system