1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

add sudo to more commands

This commit is contained in:
Sebastian Gumprich 2017-06-20 19:33:26 +02:00
parent b5aa1d8302
commit 8a83da7e1b

View file

@ -52,7 +52,7 @@ sudo sed -i "s/yunodomain/$domain/g" $final_path/.env
# uses commas because path url contains a slash
sudo sed -i "s,yunopath,${path_url},g" $final_path/.env
sudo exec_composer $final_path update
sudo_path exec_composer $final_path update
# setup application config
cd $final_path && sudo /usr/bin/php7.0 artisan -q migrate --force