From ee498b7094e832d080e3e07076bb4ac3cee02dc7 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 7 Sep 2023 13:04:30 +0800 Subject: [PATCH] Update install.sh --- plugins/gogs/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/gogs/install.sh b/plugins/gogs/install.sh index 371267366..23da6e351 100755 --- a/plugins/gogs/install.sh +++ b/plugins/gogs/install.sh @@ -9,6 +9,10 @@ serverPath=$(dirname "$rootPath") install_tmp=${rootPath}/tmp/mw_install.pl +if [ -f ${rootPath}/bin/activate ];then + source ${rootPath}/bin/activate +fi + GOGS_DOWNLOAD='https://dl.gogs.io'