void-packages/srcpkgs/nvidia/nvidia-dkms.INSTALL
2019-12-14 11:09:15 +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