From 62da88086a7f37aa405d85a3feef269901daef6e Mon Sep 17 00:00:00 2001 From: magikcypress Date: Mon, 3 Jul 2017 13:12:59 +0200 Subject: [PATCH] [fix] update javascript dependencies --- scripts/install | 5 +++++ scripts/upgrade | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/scripts/install b/scripts/install index 9b56e16..b2dd992 100644 --- a/scripts/install +++ b/scripts/install @@ -85,6 +85,11 @@ fi sudo sed -i "s#^\s*// installed plugins#&\n ${installed_plugins}#" \ "${final_path}/config/config.inc.php" +# Update javascript dependencies +pushd ${final_path} +sudo /usr/bin/php -q ./bin/install-jsdeps.sh +popd + # Change owner final_path directory sudo chown -R $app: "${final_path}" diff --git a/scripts/upgrade b/scripts/upgrade index 2f7a4ed..ca1ac79 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,6 +101,11 @@ fi sudo sed -i "s#^\s*// installed plugins#&\n ${installed_plugins}#" \ "$rc_conf" +# Update javascript dependencies +pushd ${final_path} +sudo /usr/bin/php -q ./bin/install-jsdeps.sh +popd + # Owner user app sudo chown -R $app: "${final_path}"