XORG_NV/packages/SUNWxorg-mesa/preremove
author John Martin <John.M.Martin@Sun.COM>
Tue, 25 Apr 2006 12:57:44 +0000
changeset 10 c2bcef5e4315
permissions -rw-r--r--
6390453 SUNWxorg-mesa has broken links in snv nightly build for 2/24/2006 6386535 SUNWxorg-mesa package can fail to install symlink for /usr/include/GL

# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#pragma ident	"@(#)preremove	1.1	06/02/22 SMI"
#
# SUNWxorg-mesa preremove script.

# If the NVIDIA web installation has been run prior to
# the integration of the OpenGL switcher, it will have
# created the directory /usr/include/GL which the package
# programs will refuse to replace with a symlink. 
(   # Run in a subshell to isolate any directory changes if we later expand this
    # script.

    if [ -d $BASEDIR/include/GL ]; then
        rm -rf $BASEDIR/include/GL
    fi
)

exit 0