mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
7b419d28a0
Improve install/deinstall scripts and make use of SUB_FILES to avoid hardcoding paths. Add support for FreeBSD 5.3 and later. PR: ports/97331 Submitted by: Nick Barkas <snb@threerings.net> (maintainer) Obtained from: Dmitry Frolov <frolov@riss-telecom.ru>
13 lines
157 B
Bash
13 lines
157 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
KMODDIR="%%KMODDIR%%"
|
|
|
|
if [ "$2" != "POST-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
type kldxref >/dev/null 2>&1 && kldxref ${KMODDIR} || true
|