diff --git a/scripts/install b/scripts/install index 5659764..6f64839 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/searx/manage.py update_packages" +sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt && $final_path/manage.sh update_packages" # Disable swapfile if [[ -v "$tmp_swap_file" ]]; diff --git a/scripts/upgrade b/scripts/upgrade index c670132..0f1f078 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/searx/manage.py update_packages" +sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt --upgrade && $final_path/manage.sh update_packages" # Disable swapfile if [[ -v "$tmp_swap_file" ]];