File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -123,13 +123,9 @@ if [ "${INSTALL_NOVNC}" = "true" ] && [ ! -d "/usr/local/novnc" ]; then
123123 ln -s /usr/local/novnc/websockify-${WEBSOCKETIFY_VERSION} /usr/local/novnc/noVNC-${NOVNC_VERSION} /utils/websockify
124124 rm -f /tmp/websockify-install.zip /tmp/novnc-install.zip
125125
126- novnc_python_package=" python-is-python3"
127- novnc_numpy_package=" python3-numpy"
128-
129- if ! dpkg -s ${novnc_python_package} ${novnc_numpy_package} > /dev/null 2>&1 ; then
130- apt-get -y install --no-install-recommends ${novnc_python_package} ${novnc_numpy_package}
131- fi
132- sed -i -E ' s/^python /python2 /' /usr/local/novnc/websockify-${WEBSOCKETIFY_VERSION} /run
126+ # Install noVNC dependencies and use them.
127+ check_packages python3-minimal python3-numpy
128+ sed -i -E ' s/^python /python3 /' /usr/local/novnc/websockify-${WEBSOCKETIFY_VERSION} /run
133129fi
134130
135131# Set up folders for scripts and init files
You can’t perform that action at this time.
0 commit comments