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
|
||||
go build && cp -v dotool dotoolc dotoold /usr/local/bin
|
||||
cp -v 80-dotool.rules /etc/udev/rules.d
|
||||
go build && cp -v dotool dotoolc dotoold /usr/local/bin || exit
|
||||
mkdir -p /etc/udev/rules.d && cp -v 80-dotool.rules /etc/udev/rules.d || exit
|
||||
udevadm trigger
|
||||
|
|
Loading…
Reference in a new issue