From 33f950071b2c03d7671bcd738eb75c6e29c9173d Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 26 May 2025 13:08:08 +0200 Subject: [PATCH] Update vm-core.func --- misc/vm-core.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/vm-core.func b/misc/vm-core.func index 05d1b03..19f1e21 100644 --- a/misc/vm-core.func +++ b/misc/vm-core.func @@ -25,7 +25,7 @@ load_functions() { # Function to download & save header files get_header() { - local app_name=$(echo "${APP,,}" | tr -d ' ') + local app_name=$(echo "${APP,,}" | tr ' ' '-') local app_type=${APP_TYPE:-ct} # Default zu 'ct' falls nicht gesetzt local header_url="https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/${app_type}/headers/${app_name}" local local_header_path="/usr/local/community-scripts/headers/${app_type}/${app_name}" @@ -42,7 +42,7 @@ get_header() { } header_info() { - local app_name=$(echo "${APP,,}" | tr -d ' ') + local app_name=$(echo "${APP,,}" | tr ' ' '-') local header_content header_content=$(get_header "$app_name") || header_content=""