mirror of
https://github.com/YunoHost-Apps/peertube-search-index_ynh.git
synced 2024-09-03 19:56:30 +02:00
Fix rights on upgrade
This commit is contained in:
parent
d58176025f
commit
c5b234066e
1 changed files with 5 additions and 0 deletions
|
@ -107,6 +107,11 @@ ynh_script_progression --message="Upgrading dependencies..."
|
|||
if ynh_compare_current_package_version --comparison lt --version 0.0.1.2023-01-04~ynh1; then
|
||||
# Remove elasticsearch from repositories
|
||||
ynh_remove_app_dependencies
|
||||
|
||||
# Fix rights
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
fi
|
||||
|
||||
ynh_install_apps --apps="$app_dependencies"
|
||||
|
|
Loading…
Add table
Reference in a new issue