Reference: http://bugzilla.netfilter.org/show_bug.cgi?id=560
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
config.status: extensions/GNUmakefile.in \
include/xtables.h.in include/iptables/internal.h.in
-# ldconfig may fail when we are not root (as is the case in build systems)
-# so add appropriate protection that it does not let `make` fail.
+# Using if..fi avoids an ugly "error (ignored)" message :)
install-exec-hook:
- -/sbin/ldconfig || :;
+ -if test -z "${DESTDIR}"; then /sbin/ldconfig; fi;