diff options
Diffstat (limited to 'exampleSite/update.sh')
-rwxr-xr-x | exampleSite/update.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/exampleSite/update.sh b/exampleSite/update.sh index 9c9c882..a3ee2e4 100755 --- a/exampleSite/update.sh +++ b/exampleSite/update.sh @@ -1,12 +1,16 @@ -#!/bin/bash +#!/bin/sh echo "Updating node modules : " echo "npx npm-check-updates -u && npm install" - npx npm-check-updates -u && npm install echo "Updating Pico submodule : " echo "git submodule foreach git pull origin master" - git submodule foreach git pull origin master +echo "Updating theme resources : " +npm ls postcss-cli > /dev/null +if [ $? == 1 ] ; then + echo "cp -r themes/pico//exampleSite/resources ." + cp -r themes/pico//exampleSite/resources . +fi
\ No newline at end of file |