commit 3b5508833a8bcc935ce02307d647dc7ccedf9b96
parent 62edbcc176cadef919b325da3e9cd00674ffa122
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 26 May 2015 23:09:35 -0700
Check for existence of gnome-keyring-daemon.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.profile b/.profile
@@ -14,7 +14,9 @@ export DART_SDK="/usr/lib/dart"
export TERMINAL=urxvt
# gnome keyring
-export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
+if [[ $(which gnome-keyring-daemon) == 0 ]]; then
+ export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
+fi
if [ -n "$BASH_VERSION" ]; then
# bash doesn't read .bashrc in login shells, do it manually