OneManager-php/update.sh

17 lines
312 B
Bash
Raw Permalink Normal View History

2020-03-08 02:56:58 +00:00
#!bash
gitsource='https://github.com/qkqpttgf/OneManager-php'
2020-03-08 03:02:49 +00:00
OneManagerPath=`cd $(dirname $0);pwd -P`
cd ${OneManagerPath}
2020-03-08 02:56:58 +00:00
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
2020-03-08 03:02:49 +00:00