diff --git a/scripts/install b/scripts/install index f1f6358..5659764 100644 --- a/scripts/install +++ b/scripts/install @@ -55,7 +55,7 @@ then fi sudo cp -r ../sources/* $final_path sudo virtualenv --system-site-packages $final_path -sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt && $final_path/manage.py update_packages" +sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt && $final_path/searx/manage.py update_packages" # Disable swapfile if [[ -v "$tmp_swap_file" ]]; diff --git a/scripts/upgrade b/scripts/upgrade index 5bdd782..c670132 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ fi final_path=/opt/yunohost/searx sudo cp -r ../sources/* $final_path -sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt --upgrade && $final_path/manage.py update_packages" +sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt --upgrade && $final_path/searx/manage.py update_packages" # Disable swapfile if [[ -v "$tmp_swap_file" ]];