comparison bin/setup-X.sh @ 576:637c9fac3f8d

STUB: bin/setup-X.sh
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Jan 2014 09:19:13 -0800
parents 00f5e55cbce8
children b7d5b0dee9d1
comparison
equal deleted inserted replaced
575:5f186e65da09 576:637c9fac3f8d
26 then 26 then
27 GUI_SSH_ASKPASS=/usr/bin/ksshaskpass 27 GUI_SSH_ASKPASS=/usr/bin/ksshaskpass
28 if [[ -e "${GUI_SSH_ASKPASS}" ]] 28 if [[ -e "${GUI_SSH_ASKPASS}" ]]
29 then 29 then
30 SSH_ASKPASS=${GUI_SSH_ASKPASS} ssh-add 30 SSH_ASKPASS=${GUI_SSH_ASKPASS} ssh-add
31 elif [[ -z "$PS1" ]] 31 elif [[ -n "$PS1" ]]
32 then 32 then
33 # http://www.cyberciti.biz/faq/linux-unix-bash-check-interactive-shell/ 33 # http://www.cyberciti.biz/faq/linux-unix-bash-check-interactive-shell/
34 34
35 echo "not running ssh-add: PS1 not found" 35 echo "not running ssh-add: PS1 not found"
36 else 36 else