diff options
author | Giuseppe | 2017-06-07 01:44:47 +0200 |
---|---|---|
committer | Giuseppe | 2017-06-07 01:44:47 +0200 |
commit | 9f1752e17853a108dda13cc3743af1f3a3febceb (patch) | |
tree | 74b80c875f95fe24975bed30fa5b7b32d41ada2e | |
parent | e426d8ad852daafef5ed3b4d7df6202ee8fc7ec3 (diff) | |
download | aur-9f1752e17853a108dda13cc3743af1f3a3febceb.tar.gz |
Check file existence before sourcing.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | notify-when-done-i3-git.install | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = notify-when-done-i3-git pkgdesc = Get notifications when commands in non-focused i3's workspaces finish. - pkgver = r1.ab2912a + pkgver = r3.e426d8a pkgrel = 1 url = https://github.com/giuscri/notify-when-done-i3 install = notify-when-done-i3-git.install @@ -1,6 +1,6 @@ # Maintainer: Giuseppe <giuscri@gmail.com> pkgname=notify-when-done-i3-git -pkgver=r1.ab2912a +pkgver=r3.e426d8a pkgrel=1 pkgdesc="Get notifications when commands in non-focused i3's workspaces finish." arch=('x86_64') diff --git a/notify-when-done-i3-git.install b/notify-when-done-i3-git.install index 1b4d79e86396..edecb429517e 100644 --- a/notify-when-done-i3-git.install +++ b/notify-when-done-i3-git.install @@ -1,4 +1,4 @@ post_install() { echo "## To complete installation, add the following line to your bashrc" - echo '## "source /usr/share/nwd/nwd-preexec.sh"' + echo '## [[ -f /usr/share/nwd/nwd-preexec.sh ]] && source /usr/share/nwd/nwd-preexec.sh' } |