Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > 53edffa707e4c4bf3d14fa450177dca5 > scriptlet

nvidia_glx_96.43.05-96.43.05-alt37.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