aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe2017-06-07 01:44:47 +0200
committerGiuseppe2017-06-07 01:44:47 +0200
commit9f1752e17853a108dda13cc3743af1f3a3febceb (patch)
tree74b80c875f95fe24975bed30fa5b7b32d41ada2e
parente426d8ad852daafef5ed3b4d7df6202ee8fc7ec3 (diff)
downloadaur-9f1752e17853a108dda13cc3743af1f3a3febceb.tar.gz
Check file existence before sourcing.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--notify-when-done-i3-git.install2
3 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7f17ff057de..f71881cd7ffa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 08091af35b47..7cf0003a1120 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'
}