Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Oct 9, 2024
1 parent 67c477a commit 2b4f755
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/alist/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 '安装完成'
}

Expand Down

0 comments on commit 2b4f755

Please sign in to comment.