Skip to content

Commit

Permalink
Update pip install commands to handle existing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Jul 1, 2024
1 parent 1324a7e commit c0567b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/setup/dbca_start_ckan_development.sh.override
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ if [ ! -f /tmp/container_ready ]; then

if [ -f $i/pip-requirements.txt ];
then
pip install -r $i/pip-requirements.txt
pip install -r $i/pip-requirements.txt --exists-action i
echo "Found requirements file in $i"
fi
if [ -f $i/requirements.txt ];
then
pip install -r $i/requirements.txt
pip install -r $i/requirements.txt --exists-action i
echo "Found requirements file in $i"
fi
if [ -f $i/dev-requirements.txt ];
then
pip install -r $i/dev-requirements.txt
pip install -r $i/dev-requirements.txt --exists-action i
echo "Found dev-requirements file in $i"
fi
if [ -f $i/setup.py ];
Expand Down

0 comments on commit c0567b0

Please sign in to comment.