Merge pull request #37 from qkqpttgf/master

vps更新
pull/98/head
Mr.Lin 2020-03-08 11:21:18 +08:00 committed by GitHub
commit 0eaf68a0e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
update.sh Normal file
View File

@ -0,0 +1,16 @@
#!bash
gitsource='https://github.com/qkqpttgf/OneManager-php'
OneManagerPath=`cd $(dirname $0);pwd -P`
cd ${OneManagerPath}
git clone ${gitsource}
\mv -b config.php OneManager-php/
\mv -b OneManager-php/* ./
\mv -b OneManager-php/.[^.]* ./
rm -rf *~
rm -rf .[^.]*~
rm -rf OneManager-php
chmod 666 config.php