1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/Keywords/ldconfig-linux.ucl
Baptiste Daroussin 7d135651b2 Use keywords to simplify ldconfig code
PR:		239226
Reviewed by:	mat@
Differential Revision:	https://reviews.freebsd.org/D20951
2019-08-23 12:46:14 +00:00

16 lines
269 B
Plaintext

# $FreeBSD$
#
# 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