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"