mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
[fix] Call sudo twice to execute command as www-data in upgrade
This commit is contained in:
parent
375f1653c7
commit
7a6e08f27f
1 changed files with 1 additions and 1 deletions
|
@ -38,4 +38,4 @@ sudo yunohost app ssowatconf
|
||||||
sudo yunohost app setting $app skipped_uris -v "/public.php,/api"
|
sudo yunohost app setting $app skipped_uris -v "/public.php,/api"
|
||||||
|
|
||||||
# Update database schema
|
# Update database schema
|
||||||
sudo su - www-data -c "$final_path/update.php --update-schema"
|
sudo sudo -u www-data php ${final_path}/update.php --update-schema
|
||||||
|
|
Loading…
Reference in a new issue