From eb974cb43cc01917322c4ce40ef518d09c75a94f Mon Sep 17 00:00:00 2001 From: default Date: Thu, 24 Oct 2024 19:16:44 +0000 Subject: [PATCH] dnf localinstall --- kasmvnc/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kasmvnc/run.sh b/kasmvnc/run.sh index 117b5c00..c4ac311f 100644 --- a/kasmvnc/run.sh +++ b/kasmvnc/run.sh @@ -76,7 +76,7 @@ install_deb() { install_rpm() { local url=$1 download_file "$url" /tmp/kasmvncserver.rpm - sudo rpm -i /tmp/kasmvncserver.rpm + sudo dnf localinstall /tmp/kasmvncserver.rpm rm /tmp/kasmvncserver.rpm } @@ -116,7 +116,7 @@ echo "Detected Architecture: $arch" case "$arch" in x86_64) if [[ "$distro" =~ ^(ubuntu|debian|kali)$ ]]; then - arch="amd64" + arch="amd64" fi ;; aarch64 | arm64) @@ -161,7 +161,7 @@ else echo "vncserver already installed. Skipping installation." fi -cat < "$HOME/.vnc/kasmvnc.yaml" +cat << EOF > "$HOME/.vnc/kasmvnc.yaml" network: protocol: http websocket_port: ${PORT}