void-packages/srcpkgs/nvidia/nvidia-dkms.INSTALL

14 lines
399 B
Plaintext

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