Create update.sh

pull/31/head
qkqpttgf 2020-03-08 10:56:58 +08:00 committed by GitHub
parent a30eb7650f
commit 8e7c16305f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
update.sh Normal file
View File

@ -0,0 +1,12 @@
#!bash
gitsource='https://github.com/qkqpttgf/OneManager-php'
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