08882f6b5f
install server with setuid bit. Various fixed from XFree86-4 port. Submitted by: taguchi@tohoku.iij.ad.jp (XFree86-4-* maintainer)
10 lines
240 B
Bash
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
|