diff --git a/update-oops-plugin-excel-to-json.sh b/update-oops-plugin-excel-to-json.sh index 20519d1..5b1cf2e 100644 --- a/update-oops-plugin-excel-to-json.sh +++ b/update-oops-plugin-excel-to-json.sh @@ -1,11 +1,11 @@ -if [ ! -d "extensions" ]; then - mkdir extensions -fi -cd extensions - -if [ ! -d "oops-plugin-excel-to-json" ]; then - git clone -b master https://gitee.com/dgflash/oops-plugin-excel-to-json.git -else - cd oops-plugin-excel-to-json - git pull -fi \ No newline at end of file +if [ ! -d "extensions" ]; then + mkdir extensions +fi +cd extensions + +if [ ! -d "oops-plugin-excel-to-json" ]; then + git clone -b master https://gitee.com/dgflash/oops-plugin-excel-to-json.git +else + cd oops-plugin-excel-to-json + git pull +fi diff --git a/update-oops-plugin-framework.sh b/update-oops-plugin-framework.sh index 33cbce7..1f6e14b 100644 --- a/update-oops-plugin-framework.sh +++ b/update-oops-plugin-framework.sh @@ -8,4 +8,4 @@ if [ ! -d "oops-plugin-framework" ]; then else cd oops-plugin-framework git pull -fi \ No newline at end of file +fi diff --git a/update-oops-plugin-hot-update.sh b/update-oops-plugin-hot-update.sh index d67bc90..6cc1db1 100644 --- a/update-oops-plugin-hot-update.sh +++ b/update-oops-plugin-hot-update.sh @@ -1,11 +1,11 @@ -if [ ! -d "extensions" ]; then - mkdir extensions -fi -cd extensions - -if [ ! -d "oops-plugin-hot-update" ]; then - git clone -b master https://gitee.com/dgflash/oops-plugin-hot-update.git -else - cd oops-plugin-hot-update - git pull -fi \ No newline at end of file +if [ ! -d "extensions" ]; then + mkdir extensions +fi +cd extensions + +if [ ! -d "oops-plugin-hot-update" ]; then + git clone -b master https://gitee.com/dgflash/oops-plugin-hot-update.git +else + cd oops-plugin-hot-update + git pull +fi