summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatal Ngétal <hobbestigrou@erakis.eu>2018-12-05 18:52:36 +0100
committerNatal Ngétal <hobbestigrou@erakis.eu>2018-12-05 18:52:36 +0100
commite75af78d7aacdd545825ebb2aee902276e9d55a6 (patch)
tree505e5caa42223e1fe3925dbc858367ff4e63b9cf
parent442772a6c5011f5dfd1e9d651d935b179cd14568 (diff)
downloadsearxng-e75af78d7aacdd545825ebb2aee902276e9d55a6.tar.gz
searxng-e75af78d7aacdd545825ebb2aee902276e9d55a6.zip
[Scripts] Force upgrade requirements.
Force the upgrade of requirements with pip. At the moment, if the version in the requirement file is changed, there will be no effect, because the dependencies is already present.
-rwxr-xr-xmanage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/manage.sh b/manage.sh
index a352ccc6e..20d2cba3d 100755
--- a/manage.sh
+++ b/manage.sh
@@ -18,12 +18,12 @@ ACTION="$1"
update_packages() {
pip install --upgrade pip
pip install --upgrade setuptools
- pip install -r "$BASE_DIR/requirements.txt"
+ pip install -Ur "$BASE_DIR/requirements.txt"
}
update_dev_packages() {
update_packages
- pip install -r "$BASE_DIR/requirements-dev.txt"
+ pip install -Ur "$BASE_DIR/requirements-dev.txt"
}
install_geckodriver() {