pinstall.sh 290 B

12345678910111213
  1. #!/bin/sh
  2. echo "xorg_base post-install script..."
  3. fndLIBGL="`find ./usr/lib ./usr/X11/lib -maxdepth 1 -name libGL*`"
  4. if [ "$fndLIBGL" ];then
  5. sed -i -e 's%.*#LOADGLX%# Disable "glx" #LOADGLX%' etc/X11/xorg.conf0
  6. fi
  7. echo "Removing legacy X11R7 directory and links"
  8. rm -rf usr/X11*