blob: 86c38508ea7cba16c2c38edd2f4fa789baae043e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- ide/launcher/unix/netbeans.orig 2010-07-17 20:08:48.778263924 +0200
+++ ide/launcher/unix/netbeans 2010-07-17 20:11:28.547222625 +0200
@@ -169,6 +169,20 @@
then
sh=/bin/bash
fi
+ keychain=`which keychain`
+ if [ -n "$keychain" ]; then
+ $keychain -q
+ . $HOME/.keychain/$HOSTNAME-sh
+ if [ -e $userdir/keychain-keys.txt ]; then
+ for key in `cat $userdir/keychain-keys.txt`; do
+ SSH_ASKPASS=`which x11-ssh-askpass`
+ export SSH_ASKPASS
+ if [ -n "$key" ]; then
+ keychain $key
+ fi
+ done
+ fi
+ fi
if [ "${founduserdir}" = "yes" ]; then
exec $sh "$nbexec" "$@"
else
|