freebsd-ports/Keywords/ldconfig-linux.ucl
Mathieu Arnold 5d33e04596
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
2021-04-06 16:27:10 +02:00

13 lines
253 B
Plaintext

# 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