1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/Keywords/ldconfig.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

20 lines
333 B
Plaintext

# $FreeBSD$
#
# MAINTAINER: portmgr@FreeBSD.org
#
post-install: <<EOD
if ! /usr/sbin/service ldconfig restart >/dev/null; then
if [ -z "${INSTALL_AS_USER}" ]; then
exit 1
fi
fi
EOD
post-deinstall: <<EOD
if ! /usr/sbin/service ldconfig restart >/dev/null; then
if [ -z "${INSTALL_AS_USER}" ]; then
exit 1
fi
fi
EOD