]> git.ipfire.org Git - people/stevee/network.git/commitdiff
Fix installation of bridge-stp helper
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Aug 2014 15:38:05 +0000 (17:38 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Aug 2014 15:38:05 +0000 (17:38 +0200)
When make install was executed multiple times, the install hook
created a recursive symlink. Now the old link gets removed and
the correct symlink will be created.

Makefile.am

index 83bc65bb9c380ecb9fbc743ee2b53f814500a46e..2b86f868598304191147d379c0d17c1bc9bf40c5 100644 (file)
@@ -170,7 +170,7 @@ dist_helpers_SCRIPTS = \
        src/helpers/wpa_supplicant \
        src/helpers/wpa_supplicant-config-helper
 
-bridge-stp-install-hook:
+bridge-stp-install-hook: bridge-stp-uninstall-hook
        ln -svf --relative $(DESTDIR)$(helpersdir)/bridge-stp $(DESTDIR)$(sbindir)/
 
 bridge-stp-uninstall-hook: