Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/negrel/hugo-theme-pico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Negrel <negrel.dev@protonmail.com>2021-02-06 20:40:45 +0300
committerAlexandre Negrel <negrel.dev@protonmail.com>2021-02-06 20:40:45 +0300
commit34de14db3e3bf1623f88bd1ab5ddfac9c9c52579 (patch)
tree1e8df7b81b75aebeaae4312eb7bcd3b88ade167b
parentdcda21145cdd2ba61c9091ef4606d086c20aa688 (diff)
mergin pull request
-rwxr-xr-xexampleSite/setup.sh2
-rwxr-xr-xexampleSite/update.sh2
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