summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiril Vladimiroff2019-08-19 15:21:32 +0300
committerKiril Vladimiroff2019-08-19 15:21:32 +0300
commit9cc507d7df1c40efa0fba083711c561830b0cb5b (patch)
tree3ea1eed57e8f190fe0f14acced88d469e0eac03d
parente05c489e3741ed19a7ca32986d8c9ca9de311d71 (diff)
downloadaur-9cc507d7df1c40efa0fba083711c561830b0cb5b.tar.gz
Reload udev rules after (un)install and upgrade
Otherwise users have to reboot before being able to actually use the application.
-rw-r--r--onlykey.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/onlykey.install b/onlykey.install
new file mode 100644
index 000000000000..64a39eb2d562
--- /dev/null
+++ b/onlykey.install
@@ -0,0 +1,11 @@
+post_install() {
+ udevadm control --reload
+}
+
+post_upgrade() {
+ udevadm control --reload
+}
+
+post_remove() {
+ udevadm control --reload
+}