From 539ab2c329ef87cb855c5965a4e3995af9b1cad3 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:46:38 +0200 Subject: Added gnome already splitted ebuilds. will split later if needed to improve deps heaven --- gnome-base/gdm/files/50-ssh-agent-r1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 gnome-base/gdm/files/50-ssh-agent-r1 (limited to 'gnome-base/gdm/files/50-ssh-agent-r1') diff --git a/gnome-base/gdm/files/50-ssh-agent-r1 b/gnome-base/gdm/files/50-ssh-agent-r1 new file mode 100644 index 00000000..4d94fb04 --- /dev/null +++ b/gnome-base/gdm/files/50-ssh-agent-r1 @@ -0,0 +1,10 @@ +#!/bin/sh + +# add ssh-agent if found + +sshagent="`which ssh-agent 2>/dev/null`" +if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then + command="$sshagent -- $command" +elif [ -z "$sshagent" ] ; then + echo "$0: ssh-agent not found!" +fi -- cgit v1.2.3