summaryrefslogtreecommitdiffstats
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
parent3ecee24724b6b7c2d40dd1dee899b9bee73ed74d (diff)
/usr/local/sbin, not /usr/local/bin.
-rw-r--r--Makefile2
-rw-r--r--Rules.make4
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b09a4d9..19b5c54 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ NETFILTER_VERSION:=1.2
OLD_NETFILTER_VERSION:=1.1.2
LIBDIR:=/usr/local/lib
-BINDIR:=/usr/local/bin
+BINDIR:=/usr/local/sbin
MANDIR:=/usr/local/man
INCDIR:=/usr/local/include
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)