From d95b916919a668da284bdf74cbafd55c4fe68098 Mon Sep 17 00:00:00 2001 From: rusty Date: Mon, 8 Jan 2001 07:44:46 +0000 Subject: /usr/local/sbin, not /usr/local/bin. --- Makefile | 2 +- Rules.make | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3