mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
20 lines
331 B
Plaintext
20 lines
331 B
Plaintext
# $FreeBSD#
|
|
|
|
if [ "$2" != "POST-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
pmkconf=%%PREFIX%%/etc/pmk/pmk.conf
|
|
|
|
if [ -f $pmkconf ]; then
|
|
mv -f ${pmkconf} ${pmkconf}.bak
|
|
%%PREFIX%%/bin/pmksetup
|
|
mv -f ${pmkconf} ${pmkconf}.dist
|
|
mv -f ${pmkconf}.bak ${pmkconf}
|
|
else
|
|
%%PREFIX%%/bin/pmksetup
|
|
cp -fp ${pmkconf} ${pmkconf}.dist
|
|
fi
|
|
|
|
exit 0
|