From 6a609c75d0fe8e4ea7f144eca0f5631792305344 Mon Sep 17 00:00:00 2001 From: John Gebbie Date: Wed, 26 Oct 2022 15:24:30 +0100 Subject: [PATCH] install: make udev directory if it does not exist --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 0c6fdd2..74620e4 100755 --- a/install.sh +++ b/install.sh @@ -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