From ab75cc3ec24ef6551ca3f994919641474c8d3932 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Tue, 17 Mar 2026 21:45:18 +0100 Subject: [PATCH] Update Python version to 3.14 --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 176e7ef..17b2cec 100755 --- a/install.sh +++ b/install.sh @@ -10,14 +10,14 @@ if [ -f $run_directory/.disabled ]; then exit 0 fi -if [ -f /usr/lib/python3.12/site-packages/webssh/handler.py ]; then +if [ -f /usr/lib/python3.14/site-packages/webssh/handler.py ]; then echo "Alter WebSSH configuration to remove SSH key passphrase from error message..." if [[ $user != 'root' ]]; then sudo sed -i -e 's/or wrong passphrase "{}" for decrypting it/or wrong passphrase for decrypting it/g' \ - /usr/lib/python3.13/site-packages/webssh/handler.py + /usr/lib/python3.14/site-packages/webssh/handler.py else sed -i -e 's/or wrong passphrase "{}" for decrypting it/or wrong passphrase for decrypting it/g' \ - /usr/lib/python3.13/site-packages/webssh/handler.py + /usr/lib/python3.14/site-packages/webssh/handler.py fi else echo "WARNING: Could not find webssh directory! Could be due to major Python upgrade, or you not using PIP package."