1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

[fix] update javascript dependencies

This commit is contained in:
magikcypress 2017-07-03 13:12:59 +02:00
parent e9f58d5abb
commit 62da88086a
No known key found for this signature in database
GPG key ID: 3B3C7CD61957AC9A
2 changed files with 10 additions and 0 deletions

View file

@ -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}"

View file

@ -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}"