void-packages/srcpkgs/nvidia/INSTALL
2019-02-23 15:52:39 +01:00

13 lines
399 B
Text

case "${ACTION}" in
post)
if [ "${ARCH}" = "x86_64" ]; then
# Regenerate initramfs.
echo "Regenerating initramfs, please wait..."
dracut -f -q --regenerate-all
else
echo "Nvidia has dropped support for 32-bit kernels.\n"
echo "Please consider installing the nvidia390 package as an alternative.\n"
echo "This package is now only useful if you're using a x86_64 kernel.\n"
fi
;;
esac