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