install: make udev directory if it does not exist
This commit is contained in:
parent
761b5bd202
commit
6a609c75d0
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
go build && cp -v dotool dotoolc dotoold /usr/local/bin
|
go build && cp -v dotool dotoolc dotoold /usr/local/bin || exit
|
||||||
cp -v 80-dotool.rules /etc/udev/rules.d
|
mkdir -p /etc/udev/rules.d && cp -v 80-dotool.rules /etc/udev/rules.d || exit
|
||||||
udevadm trigger
|
udevadm trigger
|
||||||
|
|
Loading…
Reference in a new issue