POSTIN
/bin/sh
# switch nvidia driver and libraries
if [ -z "$DURING_INSTALL" ]; then
if [ "`uname -r`" == "2.6.18-xen-domU-alt6" ] ; 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 ||:
/sbin/ldconfig
else
echo "Warning! x11setupdrv program not found!" >&2
fi
else
[ -n "$DURING_INSTALL" ] ||
/sbin/depmod -a -F /boot/System.map-2.6.18-xen-domU-alt6 2.6.18-xen-domU-alt6
fi
fi
POSTUN
/bin/sh
if [ -z "$DURING_INSTALL" ]; then
if [ "`uname -r`" == "2.6.18-xen-domU-alt6" ] ; 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 ||:
/sbin/postun_ldconfig
else
echo "Warning! x11setupdrv program not found!" >&2
fi
else
[ -n "$DURING_INSTALL" ] ||
/sbin/depmod -a -F /boot/System.map-2.6.18-xen-domU-alt6 2.6.18-xen-domU-alt6
fi
fi