Skip to content

Instantly share code, notes, and snippets.

@andrewgregory
Created October 17, 2016 21:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewgregory/a06247986552c3216b5b3d05ae071b2e to your computer and use it in GitHub Desktop.
Save andrewgregory/a06247986552c3216b5b3d05ae071b2e to your computer and use it in GitHub Desktop.
repeat any warning messages after pacman finishes
[Trigger]
Type = Package
Operation = Install
Operation = Remove
Operation = Upgrade
Target = *
[Action]
Description = Paclog summary
When = PostTransaction
Exec = /bin/bash -c 'ALPM_PID=$PPID; paclog --after "$(date -Is --date="$(ps -p $ALPM_PID -o lstart=)")" <&- | paclog --warnings >/dev/tty'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment