From b65b82f5d7be06d27b515384c70ac4ef611cd18d Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sun, 3 Dec 2023 17:47:23 +0100 Subject: [PATCH] Fix error from previous commit --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 14d9bfc..e84dc3d 100755 --- a/install.sh +++ b/install.sh @@ -13,9 +13,11 @@ fi if [ -f /usr/lib/python3.11/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" + sudo sed -i -e "s/or wrong passphrase {} for decrypting it/or wrong passphrase for decrypting it/g" \ + /usr/lib/python3.11/site-packages/webssh/handler.py else - sed -i -e "s/or wrong passphrase {} for decrypting it/or wrong passphrase for decrypting it/g" + sed -i -e "s/or wrong passphrase {} for decrypting it/or wrong passphrase for decrypting it/g" \ + /usr/lib/python3.11/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."