aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-Server/pkg-install
blob: d62eb7772f13a7a859f59c129e087bcf739f8ae5 (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-Server \
        ${SECCONFDIR}/SecurityPolicy
fi