Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > 2857518be9e643213cc6412c9f84acd6 > scriptlet

nvidia_glx_100.14.19-100.14.19-alt40.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