1
0
Fork 0
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:
Jérôme Lebleu 2016-05-24 22:34:59 +02:00
parent 375f1653c7
commit 7a6e08f27f

View file

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