added post-install script

This commit is contained in:
Eric Lay 2020-06-11 18:33:32 -05:00
parent 07499cb956
commit 3fc4fb0ad9
2 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@ depends=('pacman'
'yay'
'fzf')
makedepends=('git')
#install= TODO add post install script to sync pacman file database.
install=$pkgname.install
source=("git://github.com/ericlay/$pkgname")
md5sums=('SKIP')

4
fuzzy-pkg-finder.install Normal file
View File

@ -0,0 +1,4 @@
## arg 1: the new package version
post_install() {
sudo pacman -Fy && yay -Fy
}