diff options
author | Alexandre Negrel <negrel.dev@protonmail.com> | 2021-02-06 20:40:45 +0300 |
---|---|---|
committer | Alexandre Negrel <negrel.dev@protonmail.com> | 2021-02-06 20:40:45 +0300 |
commit | 34de14db3e3bf1623f88bd1ab5ddfac9c9c52579 (patch) | |
tree | 1e8df7b81b75aebeaae4312eb7bcd3b88ade167b | |
parent | dcda21145cdd2ba61c9091ef4606d086c20aa688 (diff) |
mergin pull request
-rwxr-xr-x | exampleSite/setup.sh | 2 | ||||
-rwxr-xr-x | exampleSite/update.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/setup.sh b/exampleSite/setup.sh index 5164433..30e5c01 100755 --- a/exampleSite/setup.sh +++ b/exampleSite/setup.sh @@ -10,7 +10,7 @@ git init echo "Installing Pico theme : " echo "git submodule add https://github.com/negrel/hugo-theme-pico.git ./themes/pico" -git submodule add https://github.com/negrel/hugo-theme-pico.git ./themes/pico +git submodule add -f https://github.com/negrel/hugo-theme-pico.git ./themes/pico ./update.sh diff --git a/exampleSite/update.sh b/exampleSite/update.sh index 2838d31..a6efc9b 100755 --- a/exampleSite/update.sh +++ b/exampleSite/update.sh @@ -18,7 +18,7 @@ fi if [ "$no_npx" = false ] && [ "$no_npm" = false ] && [ -f "package.json" ]; then echo "Updating node modules : " echo "npx npm-check-updates -u && npm install" - npx npm-check-updates -u && npm install + npx npm-check-updates -u --packageFile package.json && npm install fi |