This commit is contained in:
Brian Zalewski 2023-08-01 06:46:30 +00:00
parent ea2945b5b9
commit c391a28f22
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

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