Update update.sh

This commit is contained in:
qkqpttgf 2020-03-08 11:02:49 +08:00 committed by GitHub
parent 8e7c16305f
commit 284e080ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,9 @@
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/* ./
@ -10,3 +13,4 @@ rm -rf *~
rm -rf .[^.]*~
rm -rf OneManager-php
chmod 666 config.php