From c28e14f6f4c82c6cee168ac63adef6c3d89241a4 Mon Sep 17 00:00:00 2001 From: Josue-T Date: Wed, 25 Nov 2015 21:37:27 +0100 Subject: [PATCH] Correct final path --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index de5cf03..f2152cc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,7 +28,7 @@ sudo chown ffsync:ffsync -R $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@ALIASTOCHANGE@$final_path@g" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/ffsync.conf sudo cp ../conf/syncserver.ini $final_path/syncserver.ini sudo sed -i -e "s@ynhbaseurl@$domain$path@g" $final_path/syncserver.ini