From 88cc672d7fb2cbcfe5cc034e3bb8f111098baa97 Mon Sep 17 00:00:00 2001 From: bastinc Date: Wed, 7 Dec 2016 16:50:37 +0100 Subject: [PATCH] fix overwrite --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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