From 06b07cf9a0e209c5c3e00bb555c0e346510a1530 Mon Sep 17 00:00:00 2001 From: dami Date: Fri, 26 Sep 2025 16:27:27 +0800 Subject: [PATCH] Update install.sh --- plugins/pgadmin/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/pgadmin/install.sh b/plugins/pgadmin/install.sh index 55f861f2a..0068fd9e3 100755 --- a/plugins/pgadmin/install.sh +++ b/plugins/pgadmin/install.sh @@ -12,6 +12,11 @@ rootPath=$(dirname "$curPath") rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") +if [ -f ${rootPath}/bin/activate ];then + source ${rootPath}/bin/activate +fi + + P_VER=`python3 -V | awk '{print $2}'` echo "python:$P_VER"