diff --git a/scripts/upgrade b/scripts/upgrade index e3168a5..c35bf65 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,7 +39,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 -sudo cp -r ../sources/* $final_path +sudo cp -rf ../sources/* $final_path sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements-ynh.txt --upgrade" # Disable swapfile