From 5ef537105676ebcfbe542ef6d626162fb10c35ba Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Fri, 28 Feb 2025 14:25:01 +0100 Subject: [PATCH] net-misc/openssh: fix syntax error in profile.d script Signed-off-by: Anna (navi) Figueiredo Gomes Closes: https://github.com/gentoo/gentoo/pull/40811 Signed-off-by: Sam James --- net-misc/openssh/files/ssh-agent.sh | 2 +- .../{openssh-9.9_p2-r1.ebuild => openssh-9.9_p2-r2.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename net-misc/openssh/{openssh-9.9_p2-r1.ebuild => openssh-9.9_p2-r2.ebuild} (100%) diff --git a/net-misc/openssh/files/ssh-agent.sh b/net-misc/openssh/files/ssh-agent.sh index 94d21d8be8e71..fc241019125a0 100644 --- a/net-misc/openssh/files/ssh-agent.sh +++ b/net-misc/openssh/files/ssh-agent.sh @@ -1,7 +1,7 @@ # Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License, v2 or later # -if [ -f /run/openrc/softlevel ] && [ -z "$SSH_AUTH_SOCK" ] +if [ -f /run/openrc/softlevel ] && [ -z "$SSH_AUTH_SOCK" ] \ && rc-service --user --exists ssh-agent 2>&1 >/dev/null; then export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.sock" fi diff --git a/net-misc/openssh/openssh-9.9_p2-r1.ebuild b/net-misc/openssh/openssh-9.9_p2-r2.ebuild similarity index 100% rename from net-misc/openssh/openssh-9.9_p2-r1.ebuild rename to net-misc/openssh/openssh-9.9_p2-r2.ebuild