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 /notify-when-done-i3-git.install | |
parent | e426d8ad852daafef5ed3b4d7df6202ee8fc7ec3 (diff) | |
download | aur-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.install | 2 |
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' } |