summaryrefslogtreecommitdiffstats
path: root/Rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.make')
-rw-r--r--Rules.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index 8787dce2..873820aa 100644
--- a/Rules.make
+++ b/Rules.make
@@ -10,6 +10,10 @@ clean: $(EXTRA_CLEANS)
@find . -name '*.[ao]' | xargs rm -f
install: all $(EXTRA_INSTALLS)
+ @if [ -f /usr/local/bin/iptables -a "$(BINDIR)" = "/usr/local/sbin" ];\
+ then echo 'Erasing iptables from old location (now /usr/local/sbin).';\
+ rm -f /usr/local/bin/iptables;\
+ fi
install-experimental: $(EXTRA_INSTALLS_EXP)