summarylogtreecommitdiffstats
path: root/autorandr-git.install
diff options
context:
space:
mode:
authorJames An2015-01-16 11:09:58 -0500
committerJames An2015-01-16 11:09:58 -0500
commit2762c90515cecfffdb6497fdf11bdeec753d577d (patch)
treee5e035f1bd10ba56c57d44cfe912e5d78911cb91 /autorandr-git.install
parentf59f031bcbecbb5e18304a137ed81f753f4ac378 (diff)
downloadaur-2762c90515cecfffdb6497fdf11bdeec753d577d.tar.gz
Added to autorandr-git an install file to refresh udev rules and moved its executables to /usr/bin from its default /usr/local/bin install directory.
Diffstat (limited to 'autorandr-git.install')
-rw-r--r--autorandr-git.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/autorandr-git.install b/autorandr-git.install
new file mode 100644
index 00000000000..bb8d24a25cc
--- /dev/null
+++ b/autorandr-git.install
@@ -0,0 +1,7 @@
+post_install() {
+ post_upgrade
+}
+
+post_upgrade() {
+ udevadm control --reload-rules
+}