Skip to content

Commit

Permalink
fix: skip xh for arm arch
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wessel committed Jun 4, 2024
1 parent 5379f6c commit 815e04f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ RUN ARCH=$(dpkg --print-architecture | sed -e 's/armhf/arm/') && \

# xh
ENV XH_BINDIR="/usr/local/bin"
RUN curl -sfL https://github.com/raw/ducaale/xh/master/install.sh | sh && \
RUN ARCH=$(dpkg --print-architecture | sed -e 's/armhf/arm/') && \
if [ "$ARCH" = "arm" ] ; then exit 0 ; fi && \
curl -sfL https://github.com/raw/ducaale/xh/master/install.sh | sh && \
xh --version

# oh-my-zsh
Expand Down

0 comments on commit 815e04f

Please sign in to comment.