mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
fix linting error when adding pip package versions
This commit is contained in:
parent
522ef6d420
commit
e0073fff91
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ __install_python_and_deps() {
|
|||
for SINGLE_PACKAGE in $_PIP_PACKAGES; do
|
||||
__REQUIRED_VERSION="$(grep ${SINGLE_PACKAGE} "${_SALT_GIT_CHECKOUT_DIR}/requirements/base.txt")"
|
||||
if [ "${__REQUIRED_VERSION}" != "" ]; then
|
||||
_PIP_PACKAGES="${_PIP_PACKAGES/$SINGLE_PACKAGE/$__REQUIRED_VERSION}"
|
||||
_PIP_PACKAGES=$(echo "$_PIP_PACKAGES" | sed "s/${SINGLE_PACKAGE}/${__REQUIRED_VERSION}/")
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue