Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > 6f8c16345f83db2c3e979af9ee4cf122 > scriptlet

nvidia_glx_169.12-169.12-alt44.M41.1.i586.rpm

POSTIN

/bin/sh
# switch nvidia driver and libraries
if [ -z "$DURING_INSTALL" ]; then
    X11PRESETDRV=`which x11presetdrv 2>/dev/null`
    if [ -n "$X11PRESETDRV" ]; then
	$X11PRESETDRV ||:
    else
	echo "Warning! x11presetdrv program not found!" >&2
    fi
    X11SETUPDRV=`which x11setupdrv 2>/dev/null`
    if [ -n "$X11SETUPDRV" ]; then
	$X11SETUPDRV ||:
    else
	echo "Warning! x11setupdrv program not found!" >&2
    fi
fi
/sbin/ldconfig

POSTUN

/bin/sh
X11SETUPDRV=`which x11setupdrv 2>/dev/null`
if [ -n "$X11SETUPDRV" ]; then
    $X11SETUPDRV ||:
else
    echo "Warning! x11setupdrv program not found!" >&2
fi
/sbin/postun_ldconfig