From fd39c7d1e3afdad3bb32aac14c0066405f76911c Mon Sep 17 00:00:00 2001 From: dmotte <37443982+dmotte@users.noreply.github.com> Date: Sun, 21 Jan 2024 00:29:57 +0100 Subject: [PATCH] Improved arch check --- build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 370a13c..1f1dc5a 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -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 && \