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:
parent
e9f58d5abb
commit
62da88086a
2 changed files with 10 additions and 0 deletions
|
@ -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}"
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue