case "${ACTION}" in
post)
	# Regenerate initramfs.
	echo "Regenerating initramfs, please wait..."
	dracut -f -q --regenerate-all

	if [ "${ARCH}" = "i686" ]; then
		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
