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