Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit dffda25

Browse files
committed
Switch from egrep to grep -E
1 parent 23e46ad commit dffda25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ RUN \
2525
# Somehow figure out version detection and download URL here
2626
if [ -z ${APP_VERSION+x} ]; then \
2727
APP_VERSION=$(curl -sL https://www.tp-link.com/uk/support/download/omada-software-controller/ \
28-
| egrep -m 1 -io 'https?://[^ ]+.tar.gz' \
28+
| grep -E -m 1 -io 'https?://[^ ]+.tar.gz' \
2929
| awk -F "/" '{print $NF}' \
3030
| awk -F '_' '{print $4}'); \
3131
fi && \
3232
mkdir -p /tmp/omada && \
3333
OMADA_DOWNLOAD=$(curl -sL https://www.tp-link.com/uk/support/download/omada-software-controller/ \
34-
| egrep -io "https?://[^ ]+${APP_VERSION}_linux_x64.tar.gz") && \
34+
| grep -E -io "https?://[^ ]+${APP_VERSION}_linux_x64.tar.gz") && \
3535
# Download Omada package, try and handle their appalling packaging "standards"
3636
curl -o \
3737
/tmp/omada.tar.gz -L \

0 commit comments

Comments
 (0)