Skip to content

Commit

Permalink
dnf localinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
djarbz committed Oct 24, 2024
1 parent eff921e commit eb974cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kasmvnc/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -161,7 +161,7 @@ else
echo "vncserver already installed. Skipping installation."
fi

cat <<EOF > "$HOME/.vnc/kasmvnc.yaml"
cat << EOF > "$HOME/.vnc/kasmvnc.yaml"
network:
protocol: http
websocket_port: ${PORT}
Expand Down

0 comments on commit eb974cb

Please sign in to comment.