mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-26 18:44:44 +00:00
[FIX] tools.func: trim spaces in app_lc (#11512)
This commit is contained in:
+2
-1
@@ -1531,7 +1531,8 @@ check_for_gh_release() {
|
|||||||
local app="$1"
|
local app="$1"
|
||||||
local source="$2"
|
local source="$2"
|
||||||
local pinned_version_in="${3:-}" # optional
|
local pinned_version_in="${3:-}" # optional
|
||||||
local app_lc="${app,,}"
|
local app_lc=""
|
||||||
|
app_lc="$(echo "${app,,}" | tr -d ' ')"
|
||||||
local current_file="$HOME/.${app_lc}"
|
local current_file="$HOME/.${app_lc}"
|
||||||
|
|
||||||
msg_info "Checking for update: ${app}"
|
msg_info "Checking for update: ${app}"
|
||||||
|
|||||||
Reference in New Issue
Block a user