Update install.sh

pull/504/head
Mr Chen 2 years ago
parent 0bdd384f46
commit 9ea859f94c
  1. 6
      plugins/webstats/install.sh

@ -46,7 +46,7 @@ get_latest_release() {
Install_App() Install_App()
{ {
echo '正在安装脚本文件...' > $install_tmp echo '正在安装脚本文件...'
mkdir -p $serverPath/source/webstats mkdir -p $serverPath/source/webstats
mkdir -p $serverPath/webstats mkdir -p $serverPath/webstats
echo "${VERSION}" > $serverPath/webstats/version.pl echo "${VERSION}" > $serverPath/webstats/version.pl
@ -133,11 +133,9 @@ Install_App()
cp -rf $serverPath/source/webstats/GeoLite2-City.mmdb $serverPath/webstats/GeoLite2-City.mmdb cp -rf $serverPath/source/webstats/GeoLite2-City.mmdb $serverPath/webstats/GeoLite2-City.mmdb
fi fi
echo '安装完成' > $install_tmp
cd $rootPath && python3 ${rootPath}/plugins/webstats/index.py start cd $rootPath && python3 ${rootPath}/plugins/webstats/index.py start
echo '网站统计安装完成'
# delete install data # delete install data
if [ -d $serverPath/source/webstats/lsqlite3_fsl09y ];then if [ -d $serverPath/source/webstats/lsqlite3_fsl09y ];then

Loading…
Cancel
Save