Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core > by-pkgid > 2c4cf2a0da1d5245d275570b2058c89e > scriptlet

nvidia_glx_177.80-177.80-alt49.M41.3.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