summaryrefslogtreecommitdiffstats
path: root/xorg/xserver/INSTALL
blob: c4d24cc1aad2347c4b896452a20c51c0e34a55d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
default_install &&
# most drivers and applications reference X
PREFIX=/usr  &&
if [[ ${XSERVER_XORG} == 'true' ]];then
  TGT=${TRACK_ROOT}${PREFIX}/bin &&
  FROM=${INSTALL_ROOT}${PREFIX}/bin &&
  ln -vsf ${TGT}/Xorg ${FROM}/X &&
  if [[ ${XSERVER_SGID_INPUT} == 'true' ]]; then
    chown :input "${FROM}/Xorg"
    chmod g+s    "${FROM}/Xorg"
  fi &&
  if [[ ${XSERVER_SUID_ROOT} == 'true' ]]; then
    chmod u+s    "${FROM}/Xorg"
  fi
fi