From 2b4f755244d7bf6b6496dd5db314c90ccfbb0943 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 9 Oct 2024 22:48:16 +0800 Subject: [PATCH] Update install.sh --- plugins/alist/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/alist/install.sh b/plugins/alist/install.sh index 6209516b2..d4da12663 100755 --- a/plugins/alist/install.sh +++ b/plugins/alist/install.sh @@ -8,6 +8,7 @@ rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") # cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/alist && bash install.sh install 3.37.4 +# cd /www/server/mdserver-web/plugins/alist && bash install.sh install 3.37.4 install_tmp=${rootPath}/tmp/mw_install.pl VERSION=$2 @@ -49,11 +50,11 @@ Install_App() cd $ALIST_DIR && tar -zxvf ${FILE_TGZ} -C $serverPath/alist echo "${VERSION}" > $serverPath/alist/version.pl - cd $serverPath/alist && ./alist admin set admin - cd ${rootPath} && python3 ${rootPath}/plugins/alist/index.py start cd ${rootPath} && python3 ${rootPath}/plugins/alist/index.py initd_install + cd $serverPath/alist && ./alist admin set admin + echo '安装完成' }