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 start vncserver@1
sudo systemctl enable vncserver@1 sudo systemctl enable vncserver@1
if command -v update-alternatives > /dev/null; then if command -v update-alternatives > /dev/null; then
update-alternatives --set vncserver $(which kasmvncserver) update-alternatives --set vncserver "$(which kasmvncserver)"
update-alternatives --set vncpasswd $(which kasmvncpasswd) update-alternatives --set vncpasswd "$(which kasmvncpasswd)"
update-alternatives --set Xvnc $(which Xkasmvnc) update-alternatives --set Xvnc "$(which Xkasmvnc)"
update-alternatives --set vncconfig $(which kasmvncconfig) update-alternatives --set vncconfig "$(which kasmvncconfig)"
fi fi
fi fi
if command -v tigervncpasswd > /dev/null; then if command -v tigervncpasswd > /dev/null; then

View file

@ -7532,8 +7532,8 @@ softwarePackages:
zypper: xrdp zypper: xrdp
yay: xrdp yay: xrdp
kasmvnc: kasmvnc:
_bin: _bin: kasmvncpasswd
dnf: https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm _github: https://github.com/kasmtech/KasmVNC
script:linux: | script:linux: |
RELEASES=$(curl -sS "https://api.github.com/repos/kasmtech/KasmVNC/releases/latest") || : RELEASES=$(curl -sS "https://api.github.com/repos/kasmtech/KasmVNC/releases/latest") || :
LATEST_VERSION=$(echo $RELEASES | grep -o '"tag_name": "[^"]*' | grep -o '[^"]*$') || : LATEST_VERSION=$(echo $RELEASES | grep -o '"tag_name": "[^"]*' | grep -o '[^"]*$') || :