aboutsummaryrefslogtreecommitdiff
path: root/Keywords/ldconfig-linux.ucl
blob: 810c7359db9942351c3ba56e2bb355bcbca9041f (plain) (blame)
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