From 19e6055b7cbc5a3de8f1675984e7f0ef0dccd09d Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 18 Jan 2023 01:38:18 +0800 Subject: [PATCH] Update install.sh --- plugins/webssh/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/webssh/install.sh b/plugins/webssh/install.sh index 692521265..6c7ecedec 100755 --- a/plugins/webssh/install.sh +++ b/plugins/webssh/install.sh @@ -11,12 +11,13 @@ serverPath=$(dirname "$rootPath") install_tmp=${rootPath}/tmp/mw_install.pl +VERSION=$2 Install_webssh() { echo '正在安装脚本文件...' > $install_tmp mkdir -p $serverPath/webssh - echo '1.0' > $serverPath/webssh/version.pl + echo "${VERSION}" > $serverPath/webssh/version.pl echo '安装完成' > $install_tmp }