From 092b3a1103e203a4bb6e393e6cd1cda2689812d8 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Fri, 1 Dec 2023 15:34:47 +0100 Subject: [PATCH] Added /usr/libexec/platform-python for python discovery --- ssh-wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh-wrapper.py b/ssh-wrapper.py index 2ea189a..99a6a01 100755 --- a/ssh-wrapper.py +++ b/ssh-wrapper.py @@ -1,6 +1,6 @@ #!/bin/sh '''': -for pyint in python3 python python2; do +for pyint in /usr/libexec/platform-python python3 python python2; do command -v $pyint >/dev/null 2>&1 && exec $pyint "$0" "$@" done echo "$0: No python could be found" >&2