diff --git a/update.sh b/update.sh index 5993723..c1e9fb1 100755 --- a/update.sh +++ b/update.sh @@ -85,6 +85,8 @@ fi git config --global diff.submodule log git submodule update +git submodule foreach git reset --hard && git checkout master && git pull + cecho g "######################" cecho g " check dependencies of the frontend with yarn " cecho g "######################" @@ -137,6 +139,9 @@ mv polyfills-es5* es5-polyfills.js mv polyfills* other-polyfills.js mv scripts* scripts.js mv styles* styles.css + +chown www-data:www-data . -R + cecho b " finished at ------- $(date) ------- " cecho g "##################################################################" cecho g " "