Skip to content

Commit

Permalink
Improved arch check
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Jan 20, 2024
1 parent d4b2779 commit fd39c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ RUN echo '#!/bin/bash\n\nexport LC_ALL=C.UTF-8' \
# would fail at startup and silently create a ~/core core dump file)
# - LXDE: disable polkit because of the "No session for pid ..." message box
# (see https://github.com/WhitewaterFoundry/Pengwin/issues/429)
RUN ARCH="$(uname -m)"; \
if [ "$ARCH" != "${ARCH#arm}" ]; then \
RUN arch=$(uname -m); \
if [ "$arch" != "${arch#arm}" ]; then \
sed -i 's/\(encs\.push[(]encodings\.encodingTight\)/\/\/ \1/' \
/usr/share/novnc/core/rfb.js; \
fi && \
Expand Down

0 comments on commit fd39c7d

Please sign in to comment.