/etc/pacman.d/hooks/90-mkinitcpio-install.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/modules/*/vmlinuz Target = usr/lib/initcpio/* [Trigger] Operation = Install Operation = Remove Operation = Upgrade Type = Package Target = *-dkms* [Action] Description = Updating linux initcpios... When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner kernel NeedsTargets /etc/pacman.d/hooks/90-dracut-install.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/dracut/* Target = usr/lib/firmware/* Target = usr/src/*/dkms.conf Target = usr/lib/systemd/systemd Target = usr/bin/cryptsetup Target = usr/bin/lvm [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/modules/*/pkgbase [Trigger] Type = Package Operation = Install Operation = Upgrade Target = dracut [Action] Description = Updating initramfs with dracut When = PostTransaction Exec = /usr/share/libalpm/scripts/dracut-install-garuda NeedsTargets /usr/share/libalpm/hooks/05-snap-pac-pre.hook # snap-pac # https://github.com/wesbarnett/snap-pac # Copyright (C) 2016, 2017, 2018 James W. Barnett # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. [Trigger] Operation = Upgrade Operation = Install Operation = Remove Type = Package Target = * [Action] Description = Performing snapper pre snapshots for the following configurations... Depends = snap-pac When = PreTransaction Exec = /usr/share/libalpm/scripts/snap-pac pre NeedsTargets AbortOnFail /usr/share/libalpm/hooks/10-linux-modules-post.hook [Trigger] Operation = Install Operation = Upgrade Type = Path Target = usr/lib/modules/*/vmlinuz [Action] Description = Restoring Linux kernel modules... When = PostTransaction Depends = coreutils Depends = rsync Exec = /bin/sh -xc 'KVER="${KVER:-$(uname -r)}"; if test -e "/usr/lib/modules/backup/${KVER}"; then rsync -AHXal --ignore-existing "/usr/lib/modules/backup/${KVER}" /usr/lib/modules/; fi; rm -rf /usr/lib/modules/backup' /usr/share/libalpm/hooks/10-linux-modules-pre.hook [Trigger] Operation = Install Operation = Upgrade Type = Path Target = usr/lib/modules/*/vmlinuz [Action] Description = Saving Linux kernel modules... When = PreTransaction Depends = rsync Exec = /bin/sh -c 'KVER="${KVER:-$(uname -r)}"; if test -e "/usr/lib/modules/${KVER}"; then rsync -AHXal --delete-after "/usr/lib/modules/${KVER}" /usr/lib/modules/backup/; fi' /usr/share/libalpm/hooks/10-snap-pac-removal.hook # snap-pac # https://github.com/wesbarnett/snap-pac # Copyright (C) 2016, 2017, 2018 James W. Barnett # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. [Trigger] Operation = Remove Type = Package Target = snap-pac [Action] Description = You are removing snap-pac. No post transaction snapshots will be taken. Depends = snap-pac When = PreTransaction Exec = /usr/bin/bash -c "rm -f /tmp/snap-pac-pre_*" /usr/share/libalpm/hooks/40-update-ca-trust.hook [Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Path Target = usr/share/ca-certificates/trust-source/* [Action] Description = Rebuilding certificate stores... When = PostTransaction Exec = /usr/bin/update-ca-trust /usr/share/libalpm/hooks/60-depmod.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/modules/*/ Target = !usr/lib/modules/*/?* [Action] Description = Updating module dependencies... When = PostTransaction Exec = /usr/share/libalpm/scripts/depmod NeedsTargets /usr/share/libalpm/hooks/dbus-reload.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = etc/dbus-1/system.d/*.conf Target = usr/share/dbus-1/system.d/*.conf Target = usr/share/dbus-1/system-services/*.service [Action] Description = Reloading system bus configuration... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook reload dbus /usr/share/libalpm/hooks/update-desktop-database.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/share/applications/*.desktop [Action] Description = Updating the desktop file MIME type cache... When = PostTransaction Exec = /usr/bin/update-desktop-database --quiet /usr/share/libalpm/hooks/zz-snap-pac-post.hook # snap-pac # https://github.com/wesbarnett/snap-pac # Copyright (C) 2016, 2017, 2018 James W. Barnett # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. [Trigger] Operation = Upgrade Operation = Install Operation = Remove Type = Package Target = * [Action] Description = Performing snapper post snapshots for the following configurations... Depends = snap-pac When = PostTransaction Exec = /usr/share/libalpm/scripts/snap-pac post NeedsTargets /usr/share/libalpm/hooks/dconf-update.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = etc/dconf/db/*.d/ [Action] Description = Updating system dconf databases... When = PostTransaction Exec = /usr/share/libalpm/scripts/dconf-update NeedsTargets /usr/share/libalpm/hooks/80-cronie.hook [Trigger] Operation = Upgrade Type = Package Target = glibc [Action] Description = Restarting cronie for libc upgrade... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook restart cronie.service /usr/share/libalpm/hooks/01-snapshot-reject.hook [Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * Target = !garuda-hooks Target = !garuda-update [Action] Description = Rejecting pacman transaction if running in snapshot... When = PreTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner snapshot AbortOnFail /usr/share/libalpm/hooks/20-grub-btrfs-config.hook [Trigger] Operation = Install Operation = Upgrade Type = Package Target = grub-btrfs [Action] Description = Enabling drop-ins for grub-btrfs When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner grub-btrfs-config /usr/share/libalpm/hooks/20-lsb-release.hook [Trigger] Operation = Install Operation = Upgrade Type = Package Target = lsb-release [Action] Description = Add Garuda specific configuration... When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner lsb-release /usr/share/libalpm/hooks/20-os-release.hook [Trigger] Operation = Install Operation = Upgrade Type = Package Target = filesystem [Action] Description = Adding Garuda specific configurations... When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner filesystem /usr/share/libalpm/hooks/80-check-broken-packages.hook [Trigger] Operation = Upgrade Type = Package Target = * [Action] Description = Checking for package with missing dependencies... Exec = /usr/bin/check-broken-packages When = PostTransaction /usr/share/libalpm/hooks/99-foreign.hook [Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Description = Foreign/AUR package notification When = PostTransaction Exec = /usr/bin/bash -c "/usr/bin/pacman -Qm || /usr/bin/echo '=> No foreign/AUR packages found.'" /usr/share/libalpm/hooks/99-grub-install.hook [Trigger] Operation = Upgrade Type = Package Target = grub [Action] Description = Updating grub binary in EFI When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner grub-update /usr/share/libalpm/hooks/99-orphans.hook [Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Description = Orphaned package notification... When = PostTransaction Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '=> No orphans found.'" #/etc/pacman.d/hooks/orphans.hook /usr/share/libalpm/hooks/99-pacnew-check.hook [Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Description = Checking for .pacnew and .pacsave files... When = PostTransaction Exec = /usr/bin/bash -c 'pacfiles=$(pacdiff -o); if [[ -n "$pacfiles" ]]; then echo -e "\e[1m.pac* files found:\e[0m\n$pacfiles\n\e[1mPlease check and merge\e[0m"; fi' #/etc/pacman.d/hooks/pacnew-check.hook /usr/share/libalpm/hooks/99-update-grub.hook [Trigger] Operation = Install Operation = Remove Type = Path Target = usr/lib/modules/*/vmlinuz [Trigger] Operation = Install Operation = Upgrade Type = Package Target = grub [Action] Description = GRUB update after transactions... When = PostTransaction Depends = grub Exec = /bin/sh -c "/usr/bin/update-grub" /usr/share/libalpm/hooks/garuda-hooks-runner.hook [Trigger] Operation = Install Operation = Upgrade Type = Package Target = garuda-hooks [Action] Description = Updating Garuda specific hooks... When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner /usr/share/libalpm/hooks/zzz_post.hook [Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Description = Syncing all file systems... Depends = coreutils When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-hooks-runner post /usr/share/libalpm/hooks/grub-initrd-generation-fix.hook [Trigger] Operation = Install Operation = Upgrade Type = Package Target = grub Target = grub-silent Target = os-prober Target = os-prober-btrfs [Action] Description = Fix 'grub' and 'os-prober' after upgrading either of them.... When = PostTransaction Exec = /usr/share/libalpm/scripts/grub-initrd-generation-fix /usr/share/libalpm/hooks/30-update-mime-database.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/share/mime/packages/*.xml [Action] Description = Updating the MIME type database... When = PostTransaction Exec = /usr/bin/env PKGSYSTEM_ENABLE_FSYNC=0 /usr/bin/update-mime-database /usr/share/mime /usr/share/libalpm/hooks/000-garuda-config-agent-post.hook [Trigger] Type = Path Operation = Upgrade Target = etc/* [Action] Description = Updating configurations with garuda-config-agent... When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-config-agent post NeedsTargets /usr/share/libalpm/hooks/000-garuda-config-agent-postinst.hook [Trigger] Type = Path Operation = Install Target = etc/* [Action] Description = Updating configurations with garuda-config-agent... When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-config-agent postinst NeedsTargets /usr/share/libalpm/hooks/50-garuda-config-agent-pre.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Target = etc/* [Action] Description = Preparing configurations with garuda-config-agent... When = PreTransaction Exec = /usr/share/libalpm/scripts/garuda-config-agent pre NeedsTargets /usr/share/libalpm/hooks/00-garuda-migrations.hook [Trigger] Operation = Install Operation = Upgrade Type = Package Target = garuda-migrations [Action] Description = Applying Garuda Linux migrations... When = PostTransaction Exec = /usr/share/libalpm/scripts/garuda-migrations-runner /usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/gtk-3.0/3.0.0/immodules/*.so [Action] Description = Probing GTK3 input method modules... When = PostTransaction Exec = /usr/bin/gtk-query-immodules-3.0 --update-cache /usr/share/libalpm/hooks/gtk-query-immodules-3.0-32.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib32/gtk-3.0/3.0.0/immodules/*.so [Action] Description = Probing 32-bit GTK3 input method modules... When = PostTransaction Exec = /usr/bin/gtk-query-immodules-3.0-32 --update-cache /usr/share/libalpm/hooks/gio-querymodules.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/gio/modules/*.so [Action] Description = Updating GIO module cache... When = PostTransaction Exec = /usr/bin/gio-querymodules /usr/lib/gio/modules /usr/share/libalpm/hooks/glib-compile-schemas.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/share/glib-2.0/schemas/*.xml Target = usr/share/glib-2.0/schemas/*.override [Action] Description = Compiling GSettings XML schema files... When = PostTransaction Exec = /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas /usr/share/libalpm/hooks/20-systemd-sysusers.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/sysusers.d/*.conf [Action] Description = Creating system user accounts... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook sysusers /usr/share/libalpm/hooks/21-systemd-tmpfiles.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/tmpfiles.d/*.conf [Action] Description = Creating temporary files... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook tmpfiles /usr/share/libalpm/hooks/25-systemd-binfmt.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/binfmt.d/*.conf [Action] Description = Registering binary formats... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook binfmt /usr/share/libalpm/hooks/25-systemd-catalog.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/systemd/catalog/* [Action] Description = Updating journal message catalog... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook catalog /usr/share/libalpm/hooks/25-systemd-hwdb.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/udev/hwdb.d/* [Action] Description = Updating udev hardware database... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook hwdb /usr/share/libalpm/hooks/25-systemd-sysctl.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/sysctl.d/*.conf [Action] Description = Applying kernel sysctl settings... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook sysctl /usr/share/libalpm/hooks/30-systemd-daemon-reload-system.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/systemd/system/* [Action] Description = Reloading system manager configuration... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook daemon-reload-system /usr/share/libalpm/hooks/30-systemd-daemon-reload-user.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/systemd/user/* [Action] Description = Reloading user manager configuration... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook daemon-reload-user /usr/share/libalpm/hooks/35-systemd-enqueue-marked.hook [Trigger] Type = Path Operation = Upgrade Target = usr/lib/systemd/system/* [Action] Description = Enqueuing marked services... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook enqueue-marked /usr/share/libalpm/hooks/35-systemd-udev-reload.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/udev/rules.d/* [Action] Description = Reloading device manager configuration... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook udev-reload /usr/share/libalpm/hooks/35-systemd-update.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/ [Action] Description = Arming ConditionNeedsUpdate... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook update /usr/share/libalpm/hooks/accounts-daemon-restart.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/share/accountsservice/interfaces/* [Action] Description = Restarting accounts-daemon... When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook restart accounts-daemon.service /usr/share/libalpm/hooks/40-fontconfig-config.hook [Trigger] Type = Path Operation = Install Operation = Remove Target = usr/share/fontconfig/conf.default/* [Action] Description = Updating fontconfig configuration... When = PostTransaction Exec = /usr/share/libalpm/scripts/40-fontconfig-config /etc/fonts/conf.d NeedsTargets /usr/share/libalpm/hooks/fontconfig.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = etc/fonts/conf.d/* Target = usr/share/fonts/* Target = usr/share/fontconfig/conf.avail/* Target = usr/share/fontconfig/conf.default/* [Action] Description = Updating fontconfig cache... When = PostTransaction Exec = /usr/bin/fc-cache -s /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so [Action] Description = Probing GDK-Pixbuf loader modules... When = PostTransaction Exec = /usr/bin/gdk-pixbuf-query-loaders --update-cache /usr/share/libalpm/hooks/90-update-appstream-cache.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/share/app-info/* Target = usr/share/swcatalog/* [Trigger] Type = Package Operation = Install Operation = Upgrade Target = appstream [Action] Description = Updating the appstream cache... When = PostTransaction Exec = /usr/bin/appstreamcli refresh-cache --force /usr/share/libalpm/hooks/detect-old-perl-modules.hook [Trigger] Operation = Install Operation = Upgrade Type = Path Target = usr/lib/perl5/*/ [Action] Description = Checking for old perl modules... When = PostTransaction Exec = /usr/share/libalpm/scripts/detect-old-perl-modules.sh /usr/share/libalpm/hooks/70-dkms-install.hook [Trigger] Operation = Install Operation = Upgrade Type = Path Target = usr/src/*/dkms.conf Target = usr/lib/modules/*/build/include/ Target = usr/lib/modules/*/modules.order [Action] Description = Install DKMS modules Depends = dkms When = PostTransaction Exec = /usr/share/libalpm/scripts/dkms install NeedsTargets /usr/share/libalpm/hooks/70-dkms-upgrade.hook [Trigger] Operation = Upgrade Type = Path Target = usr/src/*/dkms.conf Target = usr/lib/modules/*/build/include/ Target = usr/lib/modules/*/modules.order [Action] Description = Remove upgraded DKMS modules Depends = dkms When = PreTransaction Exec = /usr/share/libalpm/scripts/dkms -D remove NeedsTargets /usr/share/libalpm/hooks/71-dkms-remove.hook [Trigger] Operation = Remove Type = Path Target = usr/src/*/dkms.conf Target = usr/lib/modules/*/build/include/ Target = usr/lib/modules/*/modules.order [Action] Description = Remove DKMS modules Depends = dkms When = PreTransaction Exec = /usr/share/libalpm/scripts/dkms remove NeedsTargets /usr/share/libalpm/hooks/60-dracut-remove.hook [Trigger] Type = Path Operation = Remove Target = usr/lib/modules/*/pkgbase [Action] Description = Removing initramfs with dracut When = PreTransaction Exec = /usr/share/libalpm/scripts/dracut-remove NeedsTargets /usr/share/libalpm/hooks/90-dracut-install.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/dracut/* Target = usr/lib/firmware/* Target = usr/src/*/dkms.conf Target = usr/lib/systemd/systemd Target = usr/bin/cryptsetup Target = usr/bin/lvm [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/modules/*/vmlinuz Target = usr/lib/modules/*/pkgbase [Trigger] Type = Package Operation = Install Operation = Upgrade Target = dracut [Action] Description = Updating initramfs with dracut When = PostTransaction Exec = /usr/share/libalpm/scripts/dracut-install NeedsTargets /usr/share/libalpm/hooks/gtk-update-icon-cache.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/share/icons/*/ Target = !usr/share/icons/*/?* [Action] Description = Updating icon theme caches... When = PostTransaction Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache NeedsTargets /usr/share/libalpm/hooks/gtk4-querymodules.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/gtk-4.0/4.0.0/*/ [Action] Description = Updating GTK4 module cache... When = PostTransaction Exec = /usr/share/libalpm/scripts/gtk4-querymodules NeedsTargets /usr/share/libalpm/hooks/gio-querymodules-32.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib32/gio/modules/*.so [Action] Description = Updating 32-bit GIO module cache... When = PostTransaction Exec = /usr/bin/gio-querymodules-32 /usr/lib32/gio/modules /usr/share/libalpm/hooks/fontconfig-32.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = etc/fonts/conf.d/* Target = usr/share/fonts/* Target = usr/share/fontconfig/conf.avail/* Target = usr/share/fontconfig/conf.default/* [Action] Description = Updating 32-bit fontconfig cache... When = PostTransaction Exec = /usr/bin/fc-cache-32 -s /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders-32.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/*.so [Action] Description = Probing 32-bit GDK-Pixbuf loader modules... When = PostTransaction Exec = /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache /usr/share/libalpm/hooks/update-vlc-plugin-cache.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/vlc/plugins/* [Action] Description = Updating the vlc plugin cache... When = PostTransaction Exec = /usr/lib/vlc/vlc-cache-gen /usr/lib/vlc/plugins /usr/share/libalpm/hooks/70-openssh-restart-sshd.hook [Trigger] Operation = Upgrade Type = Package Target = openssh [Action] Description = Restart a running sshd.service When = PostTransaction Exec = /usr/share/libalpm/scripts/systemd-hook restart sshd.service /usr/share/libalpm/hooks/nvidia-ctk-cdi.hook [Trigger] Type = Package Operation = Install Operation = Upgrade Target = nvidia-utils Target = nvidia-container-toolkit Target = opencl-nvidia Target = egl-gbm Target = egl-wayland [Action] Description = Regenerate NVIDIA CDI (Container Device Interface) Exec = /usr/share/libalpm/scripts/nvidia-ctk-cdi When = PostTransaction Depends = nvidia-utils /usr/share/libalpm/hooks/texinfo-install.hook [Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/share/info/* [Action] Description = Updating the info directory file... When = PostTransaction Exec = /bin/sh -c 'while read -r f; do if test -f "$f"; then install-info "$f" /usr/share/info/dir 2> /dev/null; fi; done' NeedsTargets /usr/share/libalpm/hooks/texinfo-remove.hook [Trigger] Type = Path Operation = Remove Target = usr/share/info/* [Action] Description = Removing old entries from the info directory file... When = PreTransaction Exec = /bin/sh -c 'while read -r f; do install-info --delete "$f" /usr/share/info/dir 2> /dev/null; done' NeedsTargets /usr/share/libalpm/hooks/unbound-trusted-key.hook [Trigger] Type = Path Target = etc/trusted-key.key Operation = Install Operation = Upgrade [Action] Description = Updating trusted-key.key for unbound... When = PostTransaction Exec = /bin/cp -f /etc/trusted-key.key /etc/unbound/ /usr/share/libalpm/hooks/vimdoc.hook [Trigger] Operation = Install Operation = Upgrade Operation= Remove Type = Path Target = usr/share/vim/vimfiles/doc/ [Action] Description = Updating Vim help tags... Exec = /usr/bin/vim -es --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" When = PostTransaction