From 747ebb9d2fdcf005ea47f66ce43b1eaac7c93b2c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 27 Apr 2021 13:11:39 +0200 Subject: [PATCH] update script pulling on master --- update.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 " "