1 2 3 4 5 6 7 8 9 10 11 12
# MAINTAINER: portmgr@FreeBSD.org post-install: <<EOD if [ -n "$(/sbin/sysctl -q compat.linux.osrelease)" ]; then %@/sbin/ldconfig fi EOD post-deinstall: <<EOD if [ -n "$(/sbin/sysctl -q compat.linux.osrelease)" ]; then %@/sbin/ldconfig fi EOD