mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
don't error when we don't have requirements
This commit is contained in:
parent
894393ab24
commit
fc659a9a7b
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ if [ "$CERTBOT_OLDEST" = 1 ]; then
|
|||
# remove any extras such as [dev]
|
||||
pkg_dir=$(echo $2 | cut -f1 -d\[) # remove any extras such as [dev]
|
||||
requirements="$pkg_dir/local-oldest-requirements.txt"
|
||||
# packages like acme don't have any local oldest requirements
|
||||
if [ ! -f "$requirements" ]; then
|
||||
unset requirements
|
||||
fi
|
||||
cp "$tools_dir/oldest_constraints.txt" "$test_constraints"
|
||||
else
|
||||
repo_root=$(dirname "$tools_dir")
|
||||
|
|
|
|||
Loading…
Reference in a new issue