File tree Expand file tree Collapse file tree 14 files changed +38
-38
lines changed
build/ansible/group_vars/all Expand file tree Collapse file tree 14 files changed +38
-38
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,12 @@ fi \
264
264
\
265
265
\
266
266
# -------------------- wkhtmltopdf --------------------
267
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ jessie_amd64\. deb' | head -1 )" \
267
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos/ wkhtmltopdf/wkhtmltopdf/releases | awk -F \" '/wkhtmltopdf.*. jessie_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
268
268
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
269
269
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
270
270
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
271
271
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
272
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
272
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
273
273
&& dpkg -i /tmp/wkhtmltopdf.deb \
274
274
&& rm -f /tmp/wkhtmltopdf.deb; \
275
275
fi \
Original file line number Diff line number Diff line change @@ -318,12 +318,12 @@ fi \
318
318
\
319
319
\
320
320
# -------------------- wkhtmltopdf --------------------
321
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ jessie_amd64\. deb' | head -1 )" \
321
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos/ wkhtmltopdf/wkhtmltopdf/releases | awk -F \" '/wkhtmltopdf.*. jessie_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
322
322
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
323
323
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
324
324
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
325
325
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
326
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
326
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
327
327
&& dpkg -i /tmp/wkhtmltopdf.deb \
328
328
&& rm -f /tmp/wkhtmltopdf.deb; \
329
329
fi \
Original file line number Diff line number Diff line change @@ -354,12 +354,12 @@ fi \
354
354
\
355
355
\
356
356
# -------------------- wkhtmltopdf --------------------
357
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ jessie_amd64\. deb' | head -1 )" \
357
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos/ wkhtmltopdf/wkhtmltopdf/releases | awk -F \" '/wkhtmltopdf.*. jessie_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
358
358
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
359
359
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
360
360
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
361
361
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
362
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
362
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
363
363
&& dpkg -i /tmp/wkhtmltopdf.deb \
364
364
&& rm -f /tmp/wkhtmltopdf.deb; \
365
365
fi \
Original file line number Diff line number Diff line change @@ -360,12 +360,12 @@ fi \
360
360
\
361
361
\
362
362
# -------------------- wkhtmltopdf --------------------
363
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ jessie_amd64\. deb' | head -1 )" \
363
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos/ wkhtmltopdf/wkhtmltopdf/releases | awk -F \" '/wkhtmltopdf.*. jessie_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
364
364
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
365
365
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
366
366
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
367
367
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
368
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
368
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
369
369
&& dpkg -i /tmp/wkhtmltopdf.deb \
370
370
&& rm -f /tmp/wkhtmltopdf.deb; \
371
371
fi \
Original file line number Diff line number Diff line change @@ -380,12 +380,12 @@ fi \
380
380
\
381
381
\
382
382
# -------------------- wkhtmltopdf --------------------
383
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
383
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
384
384
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
385
385
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
386
386
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
387
387
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
388
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
388
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
389
389
&& dpkg -i /tmp/wkhtmltopdf.deb \
390
390
&& rm -f /tmp/wkhtmltopdf.deb; \
391
391
fi \
Original file line number Diff line number Diff line change @@ -361,12 +361,12 @@ fi \
361
361
\
362
362
\
363
363
# -------------------- wkhtmltopdf --------------------
364
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\.deb' | head -1 )" \
364
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F\" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
365
365
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
366
366
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
367
367
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
368
368
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
369
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
369
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
370
370
&& dpkg -i /tmp/wkhtmltopdf.deb \
371
371
&& rm -f /tmp/wkhtmltopdf.deb; \
372
372
fi \
Original file line number Diff line number Diff line change @@ -354,12 +354,12 @@ fi \
354
354
\
355
355
\
356
356
# -------------------- wkhtmltopdf --------------------
357
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
357
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
358
358
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
359
359
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
360
360
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
361
361
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
362
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
362
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
363
363
&& dpkg -i /tmp/wkhtmltopdf.deb \
364
364
&& rm -f /tmp/wkhtmltopdf.deb; \
365
365
fi \
Original file line number Diff line number Diff line change @@ -374,12 +374,12 @@ fi \
374
374
\
375
375
\
376
376
# -------------------- wkhtmltopdf --------------------
377
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
377
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
378
378
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
379
379
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
380
380
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
381
381
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
382
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
382
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
383
383
&& dpkg -i /tmp/wkhtmltopdf.deb \
384
384
&& rm -f /tmp/wkhtmltopdf.deb; \
385
385
fi \
Original file line number Diff line number Diff line change @@ -375,12 +375,12 @@ fi \
375
375
\
376
376
\
377
377
# -------------------- wkhtmltopdf --------------------
378
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
378
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
379
379
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
380
380
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
381
381
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
382
382
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
383
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
383
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
384
384
&& dpkg -i /tmp/wkhtmltopdf.deb \
385
385
&& rm -f /tmp/wkhtmltopdf.deb; \
386
386
fi \
Original file line number Diff line number Diff line change @@ -375,12 +375,12 @@ fi \
375
375
\
376
376
\
377
377
# -------------------- wkhtmltopdf --------------------
378
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
378
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
379
379
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
380
380
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
381
381
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
382
382
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
383
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
383
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
384
384
&& dpkg -i /tmp/wkhtmltopdf.deb \
385
385
&& rm -f /tmp/wkhtmltopdf.deb; \
386
386
fi \
You can’t perform that action at this time.
0 commit comments