diff options
Diffstat (limited to 'x11-servers/XFree86-4-Server/pkg-install')
-rw-r--r-- | x11-servers/XFree86-4-Server/pkg-install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server/pkg-install b/x11-servers/XFree86-4-Server/pkg-install new file mode 100644 index 000000000..d62eb7772 --- /dev/null +++ b/x11-servers/XFree86-4-Server/pkg-install @@ -0,0 +1,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 |