From 8a83da7e1bf81a95e1876dd7c74836410b5ab080 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Tue, 20 Jun 2017 19:33:26 +0200 Subject: [PATCH] add sudo to more commands --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4c2709c..cb352eb 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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