patch mailsync pacman hook

This commit is contained in:
Alexander Bocken 2023-01-30 16:41:47 +01:00
parent bfacc63ab1
commit 45b77a57ac
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[Trigger]
Operation = Upgrade
Type = Package
Target = mutt-wizard*
[Action]
Description = Patch for Notifications using cronie
When = PostTransaction
Exec = /usr/local/bin/patch_mailsync

View File

@ -0,0 +1,2 @@
#!/bin/sh
sudo sed -i '/case "$(readlink -f \/sbin\/init)" in/,+2d' $(which mailsync)