From c391a28f2296a308ff20a77b436aa8b2a57d14b2 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Tue, 1 Aug 2023 06:46:30 +0000 Subject: [PATCH] Latest --- .../universal/run_onchange_after_16-vnc.sh.tmpl | 8 ++++---- software.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_16-vnc.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_16-vnc.sh.tmpl index 33ab68a9..588649ba 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_16-vnc.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_16-vnc.sh.tmpl @@ -41,10 +41,10 @@ else sudo systemctl start vncserver@1 sudo systemctl enable vncserver@1 if command -v update-alternatives > /dev/null; then - update-alternatives --set vncserver $(which kasmvncserver) - update-alternatives --set vncpasswd $(which kasmvncpasswd) - update-alternatives --set Xvnc $(which Xkasmvnc) - update-alternatives --set vncconfig $(which kasmvncconfig) + update-alternatives --set vncserver "$(which kasmvncserver)" + update-alternatives --set vncpasswd "$(which kasmvncpasswd)" + update-alternatives --set Xvnc "$(which Xkasmvnc)" + update-alternatives --set vncconfig "$(which kasmvncconfig)" fi fi if command -v tigervncpasswd > /dev/null; then diff --git a/software.yml b/software.yml index 65dbd77a..8b5ad998 100644 --- a/software.yml +++ b/software.yml @@ -7532,8 +7532,8 @@ softwarePackages: zypper: xrdp yay: xrdp kasmvnc: - _bin: - dnf: https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm + _bin: kasmvncpasswd + _github: https://github.com/kasmtech/KasmVNC script:linux: | RELEASES=$(curl -sS "https://api.github.com/repos/kasmtech/KasmVNC/releases/latest") || : LATEST_VERSION=$(echo $RELEASES | grep -o '"tag_name": "[^"]*' | grep -o '[^"]*$') || :