1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/x11/pcdm/pkg-install
Marcelo Araujo 234f59aaa4 QT5 based display manager for FreeBSD
WWW: https://github.com/trueos/pcdm

PR:		222155
Submitted by:	q5sys <jt@ixsystems.com>
Sponsored by:	iXsystems, Inc.
2017-11-06 07:53:40 +00:00

21 lines
373 B
Bash

#!/bin/sh
# Script to install preload.conf
PREFIX=${PKG_PREFIX-/usr/local}
if [ "$2" != "POST-INSTALL" ] ; then
exit 0
fi
# If this is during staging, we can skip for now
echo $PREFIX | grep -q '/stage/'
if [ $? -eq 0 ] ; then
exit 0
fi
if [ ! -e "${PREFIX}/etc/pcdm.conf" ] ; then
install -m 644 ${PREFIX}/etc/pcdm.conf.dist ${PREFIX}/etc/pcdm.conf
fi
exit 0