summaryrefslogtreecommitdiffstats
path: root/Rules.make
diff options
context:
space:
mode:
authorrusty <rusty>2001-01-08 07:44:46 +0000
committerrusty <rusty>2001-01-08 07:44:46 +0000
commitd95b916919a668da284bdf74cbafd55c4fe68098 (patch)
tree04f3422922245d766115d032a7028c2fb0bbe892 /Rules.make
parent3ecee24724b6b7c2d40dd1dee899b9bee73ed74d (diff)
/usr/local/sbin, not /usr/local/bin.
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 8787dce..873820a 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)