Skip to content

Commit ec8c6d1

Browse files
authored
version bump and variable fix
1 parent 7fd8673 commit ec8c6d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

registry/coder/modules/kasmvnc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Automatically install [KasmVNC](https://kasmweb.com/kasmvnc) in a workspace, and
1414
module "kasmvnc" {
1515
count = data.coder_workspace.me.start_count
1616
source = "registry.coder.com/coder/kasmvnc/coder"
17-
version = "1.2.2"
17+
version = "1.2.3"
1818
agent_id = coder_agent.example.id
1919
desktop_environment = "xfce"
2020
subdomain = true

registry/coder/modules/kasmvnc/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ get_http_dir() {
232232
if [[ -e /etc/kasmvnc/kasmvnc.yaml ]]; then
233233
d=$(grep -E '^\s*httpd_directory:.*$' "/etc/kasmvnc/kasmvnc.yaml" | awk '{print $2}')
234234

235-
if [[ -n "$httpd_directory" ]]; then
235+
if [[ -n "$d" ]]; then
236236
httpd_directory=$d
237237
fi
238238
fi
@@ -241,7 +241,7 @@ get_http_dir() {
241241
if [[ -e "$HOME/.vnc/kasmvnc.yaml" ]]; then
242242
d=$(grep -E '^\s*httpd_directory:.*$' "$HOME/.vnc/kasmvnc.yaml" | awk '{print $2}')
243243

244-
if [[ -n "$httpd_directory" ]]; then
244+
if [[ -n "$d" ]]; then
245245
httpd_directory=$d
246246
fi
247247
fi

0 commit comments

Comments
 (0)