diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2001-01-08 07:44:46 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2001-01-08 07:44:46 +0000 |
commit | 7fef19493df86597941d7cd77bfbe6ed9b49aa08 (patch) | |
tree | 04f3422922245d766115d032a7028c2fb0bbe892 | |
parent | 672eff9ed47aaae0de76091e017b526fc56ccfd4 (diff) |
/usr/local/sbin, not /usr/local/bin.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Rules.make | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -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 @@ -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) |