CI: drop bashism from template overrides

[[ is bash only

In many distributions /bin/sh == bash but not in Debian and derived
where it is dash (very simple POSIX shell).

Change-Id: I2b084ea78b236623b174473f411bae04e624a3e9
(cherry picked from commit f0c3567740)
This commit is contained in:
Marcin Juszkiewicz 2021-05-04 11:30:28 +02:00 committed by Radosław Piliszek
parent 5687029e38
commit 326201932f
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ ENV PIP_TRUSTED_HOST=
ENV PIP_EXTRA_INDEX_URL=
{% endif %}
RUN if [[ -f /usr/etc/npmrc ]]; then \
RUN if [ -f /usr/etc/npmrc ]; then \
unlink /usr/etc/npmrc; \
fi \
&& rm -f /etc/npmrc