parent
caecdf0ace
commit
e5818c7362
@ -0,0 +1,14 @@
|
||||
[Trigger]
|
||||
Type=Package
|
||||
Operation=Install
|
||||
Operation=Upgrade
|
||||
Operation=Remove
|
||||
Target=*
|
||||
|
||||
[Action]
|
||||
Description=Making ZFS snapshot...
|
||||
Depends=zfs-utils
|
||||
When=PreTransaction
|
||||
Exec=/usr/bin/sh -c "/usr/bin/zfs snapshot -r $(/usr/bin/findmnt -n / | /usr/bin/awk '{print $2}')@$(date +%Y-%m-%d_%H-%M-%S)_pacman_pre"
|
||||
AbortOnFail
|
||||
NeedsTargets
|
@ -0,0 +1,10 @@
|
||||
[Trigger]
|
||||
Type = File
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Target = /boot/vmlinuz-linux-lts
|
||||
|
||||
[Action]
|
||||
Description = Renaming vmlinuz-linux-lts to resc-lts.krn...
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/mv /boot/vmlinuz-linux-lts /boot/resc-lts.krn
|
@ -0,0 +1,10 @@
|
||||
[Trigger]
|
||||
Type = File
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Target = boot/vmlinuz-linux-zen
|
||||
|
||||
[Action]
|
||||
Description = Renaming vmlinuz-linux-zen to arch-zen.krn...
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/mv /boot/vmlinuz-linux-zen /boot/arch-zen.krn
|
@ -0,0 +1,12 @@
|
||||
[Trigger]
|
||||
Operation=Install
|
||||
Operation=Upgrade
|
||||
Operation=Remove
|
||||
Type=Package
|
||||
Target=nvidia
|
||||
|
||||
[Action]
|
||||
Depends=mkinitcpio
|
||||
When=PostTransaction
|
||||
Exec=/usr/bin/mkinitcpio -P
|
||||
|
@ -0,0 +1,10 @@
|
||||
[Trigger]
|
||||
Operation=Install
|
||||
Operation=Upgrade
|
||||
Type=Package
|
||||
Target=*
|
||||
|
||||
[Action]
|
||||
Description=Finding orphans...
|
||||
When=PostTransaction
|
||||
Exec=/usr/bin/bash -c 'echo -e "=> None found.\r=> $(pacman -Qqtd | tr "\n" " ")"'
|
@ -0,0 +1,9 @@
|
||||
[Trigger]
|
||||
Operation=Upgrade
|
||||
Type=Package
|
||||
Target=refind-efi
|
||||
|
||||
[Action]
|
||||
Description = Updating rEFInd on ESP
|
||||
When=PostTransaction
|
||||
Exec=/usr/bin/refind-install
|
@ -0,0 +1,9 @@
|
||||
[Trigger]
|
||||
Type = File
|
||||
Operation = Upgrade
|
||||
Target = boot/EFI/systemd/systemd-bootx64.efi
|
||||
|
||||
[Action]
|
||||
Description = Upgrading systemd-boot...
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/bootctl update
|
Loading…
Reference in new issue