install: make udev directory if it does not exist

This commit is contained in:
John Gebbie 2022-10-26 15:24:30 +01:00
parent 761b5bd202
commit 6a609c75d0

View file

@ -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