From 52786e27828c07ee56aa0249bbc40b2840acff5f Mon Sep 17 00:00:00 2001 From: Josue-T Date: Sun, 12 Jun 2016 23:32:52 +0200 Subject: [PATCH] [fix] Trailing slash on app name --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 295c18c..4f2ee50 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,7 +72,7 @@ sudo chown -R www-data: $final_path # Modify Nginx configuration file and copy it to Nginx conf directory sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf -sed -i "s@YNH_APP_INSTANCE_NAME@$app/@g" ../conf/nginx.conf +sed -i "s@YNH_APP_INSTANCE_NAME@$app@g" ../conf/nginx.conf if ynh_user_exists $admin; then sudo yunohost app addaccess $app -u $admin