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 @@ -352,12 +352,12 @@ fi \
352
352
&& chmod +x /usr/local/bin/symfony \
353
353
\
354
354
# -------------------- wkhtmltopdf --------------------
355
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ jessie_amd64\. deb' | head -1 )" \
355
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos/ wkhtmltopdf/wkhtmltopdf/releases | awk -F \" '/wkhtmltopdf.*. jessie_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
356
356
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
357
357
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
358
358
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
359
359
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
360
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
360
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
361
361
&& dpkg -i /tmp/wkhtmltopdf.deb \
362
362
&& rm -f /tmp/wkhtmltopdf.deb; \
363
363
fi \
Original file line number Diff line number Diff line change @@ -358,12 +358,12 @@ fi \
358
358
&& chmod +x /usr/local/bin/symfony \
359
359
\
360
360
# -------------------- wkhtmltopdf --------------------
361
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ jessie_amd64\. deb' | head -1 )" \
361
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos/ wkhtmltopdf/wkhtmltopdf/releases | awk -F \" '/wkhtmltopdf.*. jessie_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
362
362
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
363
363
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
364
364
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
365
365
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
366
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
366
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
367
367
&& dpkg -i /tmp/wkhtmltopdf.deb \
368
368
&& rm -f /tmp/wkhtmltopdf.deb; \
369
369
fi \
Original file line number Diff line number Diff line change @@ -378,12 +378,12 @@ fi \
378
378
&& chmod +x /usr/local/bin/symfony \
379
379
\
380
380
# -------------------- wkhtmltopdf --------------------
381
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
381
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
382
382
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
383
383
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
384
384
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
385
385
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
386
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
386
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
387
387
&& dpkg -i /tmp/wkhtmltopdf.deb \
388
388
&& rm -f /tmp/wkhtmltopdf.deb; \
389
389
fi \
Original file line number Diff line number Diff line change @@ -359,12 +359,12 @@ fi \
359
359
&& chmod +x /usr/local/bin/symfony \
360
360
\
361
361
# -------------------- wkhtmltopdf --------------------
362
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\.deb' | head -1 )" \
362
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F\" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
363
363
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
364
364
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
365
365
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
366
366
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
367
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
367
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
368
368
&& dpkg -i /tmp/wkhtmltopdf.deb \
369
369
&& rm -f /tmp/wkhtmltopdf.deb; \
370
370
fi \
Original file line number Diff line number Diff line change @@ -352,12 +352,12 @@ fi \
352
352
&& chmod +x /usr/local/bin/symfony \
353
353
\
354
354
# -------------------- wkhtmltopdf --------------------
355
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
355
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
356
356
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
357
357
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
358
358
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
359
359
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
360
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
360
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
361
361
&& dpkg -i /tmp/wkhtmltopdf.deb \
362
362
&& rm -f /tmp/wkhtmltopdf.deb; \
363
363
fi \
Original file line number Diff line number Diff line change @@ -372,12 +372,12 @@ fi \
372
372
&& chmod +x /usr/local/bin/symfony \
373
373
\
374
374
# -------------------- wkhtmltopdf --------------------
375
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
375
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
376
376
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
377
377
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
378
378
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
379
379
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
380
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
380
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
381
381
&& dpkg -i /tmp/wkhtmltopdf.deb \
382
382
&& rm -f /tmp/wkhtmltopdf.deb; \
383
383
fi \
Original file line number Diff line number Diff line change @@ -373,12 +373,12 @@ fi \
373
373
&& chmod +x /usr/local/bin/symfony \
374
374
\
375
375
# -------------------- wkhtmltopdf --------------------
376
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
376
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
377
377
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
378
378
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
379
379
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
380
380
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
381
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
381
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
382
382
&& dpkg -i /tmp/wkhtmltopdf.deb \
383
383
&& rm -f /tmp/wkhtmltopdf.deb; \
384
384
fi \
Original file line number Diff line number Diff line change @@ -373,12 +373,12 @@ fi \
373
373
&& chmod +x /usr/local/bin/symfony \
374
374
\
375
375
# -------------------- wkhtmltopdf --------------------
376
- && VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf /wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+ stretch_amd64\. deb' | head -1 )" \
376
+ && VERSION="$(curl -sSL -L --fail https://api. github.com/repos /wkhtmltopdf/packaging/ releases | awk -F \" '/wkhtmltopdf.*. stretch_amd64\.deb/{print $(NF-1)} ' | head -1 )" \
377
377
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then \
378
378
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
379
379
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
380
380
libfontenc1 libxfont2 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
381
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/ ${VERSION} \
381
+ && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb ${VERSION} \
382
382
&& dpkg -i /tmp/wkhtmltopdf.deb \
383
383
&& rm -f /tmp/wkhtmltopdf.deb; \
384
384
fi \
You can’t perform that action at this time.
0 commit comments