summaryrefslogtreecommitdiffstats
path: root/heimdall/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/heimdall/Makefile.am b/heimdall/Makefile.am
index 1bc9f9a..4f5ffdb 100644
--- a/heimdall/Makefile.am
+++ b/heimdall/Makefile.am
@@ -23,7 +23,12 @@ udevrulesdir = /lib/udev/rules.d
udevrules_DATA = 60-heimdall-galaxy-s.rules
install-data-hook:
+if UDEVADM
sudo udevadm control --reload_rules
+else
+ sudo service udev restart
+endif
+
endif
dist_noinst_SCRIPTS = autogen.sh