summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-utils/files/patch-scripts__xinitrc.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfce4-utils/files/patch-scripts__xinitrc.in.in')
-rw-r--r--sysutils/xfce4-utils/files/patch-scripts__xinitrc.in.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/xfce4-utils/files/patch-scripts__xinitrc.in.in b/sysutils/xfce4-utils/files/patch-scripts__xinitrc.in.in
new file mode 100644
index 000000000000..55ef2b79f25e
--- /dev/null
+++ b/sysutils/xfce4-utils/files/patch-scripts__xinitrc.in.in
@@ -0,0 +1,16 @@
+--- scripts/xinitrc.in.in.orig 2012-04-09 22:20:51.000000000 +0200
++++ scripts/xinitrc.in.in 2012-04-09 22:21:29.000000000 +0200
+@@ -155,11 +155,11 @@
+ case "$ssh_agent_type" in
+ gpg-agent)
+ if test -z "$SSH_AGENT_PID"; then
+- eval `gpg-agent --daemon --enable-ssh-support --write-env-file $XDG_CACHE_HOME/gpg-agent-info`
++ eval `gpg-agent --sh --daemon --enable-ssh-support --write-env-file $XDG_CACHE_HOME/gpg-agent-info`
+ ssh_agent_kill_cmd="kill -INT $SSH_AGENT_PID; rm -f $XDG_CACHE_HOME/gpg-agent-info"
+ elif test -z "$GPG_AGENT_INFO"; then
+ echo "ssh-agent is already running; starting gpg-agent without ssh support"
+- eval `gpg-agent --daemon --write-env-file $XDG_CACHE_HOME/gpg-agent-info`
++ eval `gpg-agent --sh --daemon --write-env-file $XDG_CACHE_HOME/gpg-agent-info`
+ ssh_agent_kill_cmd="pkill -INT ^gpg-agent\$; rm -f $XDG_CACHE_HOME/gpg-agent-info"
+ else
+ echo "gpg-agent is already running" \ No newline at end of file