This commit is contained in:
2025-08-13 21:46:48 +02:00
commit c3e2e6509b
818 changed files with 54187 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
[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.'"

View File

@@ -0,0 +1,11 @@
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Operation = Remove
Target = *
[Action]
Description = Create a backup list of all installed packages
When = PostTransaction
Exec = /bin/sh -c "pacman -Qme | awk '{ print $1 }' > /home/matt/.config/pacman/aur-packages.txt && pacman -Qne | awk '{ print $1 }' > /home/matt/.config/pacman/arch-packages.txt"

View File

@@ -0,0 +1,12 @@
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Checking which daemons need to be restarted after library upgrades.
When = PostTransaction
Exec = /usr/bin/needrestart
Depends = needrestart

View File

@@ -0,0 +1,11 @@
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = linux
[Action]
Description = Backing up /boot...
When = PreTransaction
Exec = /usr/bin/rsync -avzq --delete /boot /.bootbackup