diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-12-31 17:24:09 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-12-31 17:24:09 +0800 |
| commit | 60cbcfb7a5d57134b968e22a040765056a061cb4 (patch) | |
| tree | 41b193c888a518a0927fd0c0ed054c7170b20cd1 /etc/pacman.d/hooks/nvidia.hook | |
| parent | 3ec638f8b14433527f07649743b5ec97ae68fd12 (diff) | |
update: etc
Diffstat (limited to 'etc/pacman.d/hooks/nvidia.hook')
| -rw-r--r-- | etc/pacman.d/hooks/nvidia.hook | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/pacman.d/hooks/nvidia.hook b/etc/pacman.d/hooks/nvidia.hook new file mode 100644 index 00000000..565974b5 --- /dev/null +++ b/etc/pacman.d/hooks/nvidia.hook @@ -0,0 +1,19 @@ +#[Trigger] +#Operation=Install +#Operation=Upgrade +#Operation=Remove +#Type=Package +# Uncomment the installed NVIDIA package +#Target=nvidia +#Target=nvidia-open +#Target=nvidia-lts +# If running a different kernel, modify below to match +#Target=linux + +#[Action] +#Description=Updating NVIDIA module in initcpio +#Depends=mkinitcpio +#When=PostTransaction +#NeedsTargets +#Exec=/bin/sh -c 'while read -r trg; do case $trg in linux*) exit 0; esac; done; /usr/bin/mkinitcpio -P' + |
