diff options
author | Kiril Vladimiroff | 2019-08-19 15:21:32 +0300 |
---|---|---|
committer | Kiril Vladimiroff | 2019-08-19 15:21:32 +0300 |
commit | 9cc507d7df1c40efa0fba083711c561830b0cb5b (patch) | |
tree | 3ea1eed57e8f190fe0f14acced88d469e0eac03d | |
parent | e05c489e3741ed19a7ca32986d8c9ca9de311d71 (diff) | |
download | aur-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.install | 11 |
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 +} |