diff options
author | Giuseppe | 2017-06-07 11:37:48 +0200 |
---|---|---|
committer | Giuseppe | 2017-06-07 11:37:48 +0200 |
commit | 35379d57dbcc4400c75a906475e2a68b7caa5d9a (patch) | |
tree | 3071727e1865a6f25aa5cd71189d137ef013578a | |
parent | 49fd50180122c6644895802e83c0f3bc8c7dcc43 (diff) | |
download | aur-35379d57dbcc4400c75a906475e2a68b7caa5d9a.tar.gz |
Add a postupdate() hook.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | notify-when-done-i3-git.install | 5 |
3 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = notify-when-done-i3-git pkgdesc = Get notifications when commands in non-focused i3's workspaces finish. pkgver = r4.9f1752e - pkgrel = 2 + pkgrel = 3 url = https://github.com/giuscri/notify-when-done-i3 install = notify-when-done-i3-git.install arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Giuseppe <giuscri@gmail.com> pkgname=notify-when-done-i3-git pkgver=r4.9f1752e -pkgrel=2 +pkgrel=3 pkgdesc="Get notifications when commands in non-focused i3's workspaces finish." arch=('x86_64') url="https://github.com/giuscri/notify-when-done-i3" diff --git a/notify-when-done-i3-git.install b/notify-when-done-i3-git.install index 1d94c2b6804b..77224b448112 100644 --- a/notify-when-done-i3-git.install +++ b/notify-when-done-i3-git.install @@ -3,6 +3,11 @@ post_install() { echo '## [[ -f /usr/share/nwd/nwd-preexec.sh ]] && source /usr/share/nwd/nwd-preexec.sh' } +post_update() { + echo '## Update will be effective only after a source of your bashrc,' + echo '## or by reopening the shell.' +} + post_removal() { echo "## To complete removal, remove the source of nwd/preexec.sh from your bashrc" } |