freebsd-ports/x11/wrapper/pkg-install
Satoshi Asami 08882f6b5f Change wrapper dependency -- depend on wrapper from XFree86-4-Server. Don't
install server with setuid bit.  Various fixed from XFree86-4 port.

Submitted by:	taguchi@tohoku.iij.ad.jp (XFree86-4-* maintainer)
2000-11-03 11:08:12 +00:00

10 lines
240 B
Bash

#!/bin/sh
if [ "X$2" != "XPOST-INSTALL" ]; then
exit 0
fi
/bin/ln -sf ${PKG_PREFIX}/bin/Xwrapper ${PKG_PREFIX}/bin/X
[ -x ${PKG_PREFIX}/bin/XFree86 ] && /bin/chmod -s ${PKG_PREFIX}/bin/XFree86
/bin/chmod +s ${PKG_PREFIX}/bin/Xwrapper