[fix] do not do unnecessary package upgrades

This commit is contained in:
Adam Tauber 2017-01-26 23:30:57 +01:00
parent 04306bad89
commit c0993ece54

View File

@ -6,12 +6,12 @@ SEARX_DIR="$BASE_DIR/searx"
ACTION=$1 ACTION=$1
update_packages() { update_packages() {
pip install --upgrade -r "$BASE_DIR/requirements.txt" pip install -r "$BASE_DIR/requirements.txt"
} }
update_dev_packages() { update_dev_packages() {
update_packages update_packages
pip install --upgrade -r "$BASE_DIR/requirements-dev.txt" pip install -r "$BASE_DIR/requirements-dev.txt"
} }
check_geckodriver() { check_geckodriver() {