Compare commits
No commits in common. "f31d388410059dd6e085f559393fbcd68796f203" and "e772ba791eedd36b4ec401178e42a24e65bf42c3" have entirely different histories.
f31d388410
...
e772ba791e
@ -25,7 +25,7 @@ load_functions() {
|
|||||||
|
|
||||||
# Function to download & save header files
|
# Function to download & save header files
|
||||||
get_header() {
|
get_header() {
|
||||||
local app_name=$(echo "${APP,,}" | tr ' ' '-')
|
local app_name=$(echo "${APP,,}" | tr -d ' ')
|
||||||
local app_type=${APP_TYPE:-ct} # Default zu 'ct' falls nicht gesetzt
|
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 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}"
|
local local_header_path="/usr/local/community-scripts/headers/${app_type}/${app_name}"
|
||||||
@ -42,7 +42,7 @@ get_header() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
header_info() {
|
header_info() {
|
||||||
local app_name=$(echo "${APP,,}" | tr ' ' '-')
|
local app_name=$(echo "${APP,,}" | tr -d ' ')
|
||||||
local header_content
|
local header_content
|
||||||
|
|
||||||
header_content=$(get_header "$app_name") || header_content=""
|
header_content=$(get_header "$app_name") || header_content=""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user