From 2e36a000bd0c48d1787f43d72cf969a87bdc5963 Mon Sep 17 00:00:00 2001 From: bastinc Date: Thu, 8 Dec 2016 11:07:38 +0100 Subject: [PATCH] fix path --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index c35bf65..9ae81ca 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ fi final_path=/opt/yunohost/$app wget https://github.com/asciimoo/searx/archive/v0.10.0.tar.gz -tar xvf v0.10.0.tar.gz && mv searx-0.10.0 ../sources/searx +tar xvf v0.10.0.tar.gz && cp -rf searx-0.10.0/* ../sources sudo cp -rf ../sources/* $final_path sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements-ynh.txt --upgrade"