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 '[^"]*$') || :