mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
With us packaging the shim packages, there are more lines in
letsencrypt-auto-requirements.txt that will change with every release. This change strips the hashes of the previous packages before adding the new ones.
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ if ! wc -l /tmp/hashes.$$ | grep -qE "^\s*15 " ; then
|
||||
fi
|
||||
|
||||
# perform hideous surgery on requirements.txt...
|
||||
head -n -9 letsencrypt-auto-source/pieces/letsencrypt-auto-requirements.txt > /tmp/req.$$
|
||||
head -n -15 letsencrypt-auto-source/pieces/letsencrypt-auto-requirements.txt > /tmp/req.$$
|
||||
cat /tmp/hashes.$$ >> /tmp/req.$$
|
||||
cp /tmp/req.$$ letsencrypt-auto-source/pieces/letsencrypt-auto-requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user