XORG_NV/packages/SUNWxorg-mesa/preremove
changeset 10 c2bcef5e4315
equal deleted inserted replaced
9:7c149d751953 10:c2bcef5e4315
       
     1 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
       
     2 # Use is subject to license terms.
       
     3 #
       
     4 #pragma ident	"@(#)preremove	1.1	06/02/22 SMI"
       
     5 #
       
     6 # SUNWxorg-mesa preremove script.
       
     7 
       
     8 # If the NVIDIA web installation has been run prior to
       
     9 # the integration of the OpenGL switcher, it will have
       
    10 # created the directory /usr/include/GL which the package
       
    11 # programs will refuse to replace with a symlink. 
       
    12 (   # Run in a subshell to isolate any directory changes if we later expand this
       
    13     # script.
       
    14 
       
    15     if [ -d $BASEDIR/include/GL ]; then
       
    16         rm -rf $BASEDIR/include/GL
       
    17     fi
       
    18 )
       
    19 
       
    20 exit 0
       
    21