aboutsummarylogtreecommitdiffstats
path: root/notify-when-done-i3-git.install
diff options
context:
space:
mode:
authorGiuseppe2017-06-07 01:44:47 +0200
committerGiuseppe2017-06-07 01:44:47 +0200
commit9f1752e17853a108dda13cc3743af1f3a3febceb (patch)
tree74b80c875f95fe24975bed30fa5b7b32d41ada2e /notify-when-done-i3-git.install
parente426d8ad852daafef5ed3b4d7df6202ee8fc7ec3 (diff)
downloadaur-9f1752e17853a108dda13cc3743af1f3a3febceb.tar.gz
Check file existence before sourcing.
Diffstat (limited to 'notify-when-done-i3-git.install')
-rw-r--r--notify-when-done-i3-git.install2
1 files changed, 1 insertions, 1 deletions
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'
}