Since a hook can't be interactive, just print the list of pacdiffs

This commit is contained in:
David Thurstenson 2020-08-26 19:04:04 -05:00
parent b56085f739
commit 5595a2446d
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=pacdiff-hook
pkgver=0.1
pkgver=0.2
pkgrel=1
pkgdesc="A hook to run pacdiff after any run of pacman"
arch=('any')
@ -9,7 +9,7 @@ license=('GPL')
groups=('tlconfig')
depends=('pacman-contrib' 'vim')
source=("pacdiff.hook")
md5sums=('1c8c59a99410668ebc7ebee5429da89f')
md5sums=('1593196d71a84ac8c5f9d58c96c00508')
package() {
install -Dm644 pacdiff.hook ${pkgdir}/usr/share/libalpm/hooks/pacdiff.hook

View File

@ -5,6 +5,6 @@ Operation = Remove
Type = Package
Target = *
[Action]
Description = Runs pacdiff utility
Description = The following pacdiffs were found:
When = PostTransaction
Exec = /usr/bin/pacdiff
Exec = /usr/bin/pacdiff -o