Commit 566bb2b2 authored by Jérome Perrin's avatar Jérome Perrin

component/ca-certificates: prefer python3 in our "any python" patch

We want to detect usage of system python2 or python.
parent 912ae37a
......@@ -16,7 +16,7 @@ url = http://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_2
md5sum = e91d3d9259127ba2dbb65fda58d73f31
patch-binary = ${patch:location}/bin/patch
patches =
${:_profile_base_location_}/ca-certificates-any-python.patch#087b5e860c7a4b8ff6656c95c5835ee2
${:_profile_base_location_}/ca-certificates-any-python.patch#b7e234b1b2a40750c054c06603fb3749
${:_profile_base_location_}/ca-certificates-sbin-dir.patch#0b4e7d82ce768823c01954ee41ef177b
patch-options = -p0
configure-command = true
......
......@@ -16,7 +16,7 @@
all:
- python certdata2pem.py
+ for x in '' 2 3; do type python$$x && break; done >/dev/null \
+ for x in 3 '' 2; do type python$$x && break; done >/dev/null \
+ && python$$x certdata2pem.py
clean:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment