diff --git a/srcpkgs/nvidia390/nvidia390-dkms.INSTALL b/srcpkgs/nvidia390/nvidia390-dkms.INSTALL new file mode 100644 index 0000000000..6b065bedb4 --- /dev/null +++ b/srcpkgs/nvidia390/nvidia390-dkms.INSTALL @@ -0,0 +1,7 @@ +# Regenerate initramfs. +case ${ACTION} in +post) + echo "Regenerating initramfs, please wait..." + dracut -f -q --regenerate-all + ;; +esac diff --git a/srcpkgs/nvidia390/nvidia390-dkms.REMOVE b/srcpkgs/nvidia390/nvidia390-dkms.REMOVE new file mode 100644 index 0000000000..e4d494ca01 --- /dev/null +++ b/srcpkgs/nvidia390/nvidia390-dkms.REMOVE @@ -0,0 +1,7 @@ +# Regenerate initramfs. +case ${ACTION} in +purge) + echo "Regenerating initramfs, please wait..." + dracut -f -q --regenerate-all + ;; +esac diff --git a/srcpkgs/nvidia390/template b/srcpkgs/nvidia390/template index d65f004ba9..d3409a29e7 100644 --- a/srcpkgs/nvidia390/template +++ b/srcpkgs/nvidia390/template @@ -4,7 +4,7 @@ _desc="NVIDIA drivers (GeForce 400, 500 series)" pkgname=nvidia390 version=390.132 -revision=3 +revision=4 maintainer="Andrew Benson " license="custom:NVIDIA Proprietary" homepage="https://www.nvidia.com"