aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-NestServer/pkg-install
blob: 6f04a27ffda8827ba5901fa4784a92130385a673 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ "$2" != "POST-INSTALL" ]; then
    exit 0
fi

PKG_PREFIX=${PKG_PREFIX:=/usr/X11R6}
SECCONFDIR=${PKG_PREFIX}/lib/X11/xserver

if [ ! -f ${SECCONFDIR}/SecurityPolicy ]; then
    cp ${SECCONFDIR}/SecurityPolicy.default-NestServer \
        ${SECCONFDIR}/SecurityPolicy
fi