Skip to content

Commit 7bc0722

Browse files
committed
comments
1 parent ab65711 commit 7bc0722

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

misc/build.func

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,9 +2002,9 @@ ssh_extract_keys_from_file() {
20022002
tr -d '\r' <"$f" | awk '
20032003
/^[[:space:]]*#/ {next}
20042004
/^[[:space:]]*$/ {next}
2005-
# nackt: typ base64 [comment]
2005+
# bare format: type base64 [comment]
20062006
/^(ssh-(rsa|ed25519)|ecdsa-sha2-nistp256|sk-(ssh-ed25519|ecdsa-sha2-nistp256))[[:space:]]+/ {print; next}
2007-
# mit Optionen: finde ab erstem Key-Typ
2007+
# with options: find from first key-type onward
20082008
{
20092009
match($0, /(ssh-(rsa|ed25519)|ecdsa-sha2-nistp256|sk-(ssh-ed25519|ecdsa-sha2-nistp256))[[:space:]]+/)
20102010
if (RSTART>0) { print substr($0, RSTART) }
@@ -3520,7 +3520,7 @@ create_lxc_container() {
35203520
if [[ "$PCT_OSTYPE" == "debian" ]]; then
35213521
OSVER="$(parse_template_osver "$TEMPLATE")"
35223522
if [[ -n "$OSVER" ]]; then
3523-
# Proactive, aber ohne Abbruchnur Angebot
3523+
# Proactive, but without abortonly offer
35243524
offer_lxc_stack_upgrade_and_maybe_retry "no" || true
35253525
fi
35263526
fi

misc/core.func

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ exit_script() {
683683
# ------------------------------------------------------------------------------
684684
get_header() {
685685
local app_name=$(echo "${APP,,}" | tr -d ' ')
686-
local app_type=${APP_TYPE:-ct} # Default zu 'ct' falls nicht gesetzt
686+
local app_type=${APP_TYPE:-ct} # Default to 'ct' if not set
687687
local header_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/${app_type}/headers/${app_name}"
688688
local local_header_path="/usr/local/community-scripts/headers/${app_type}/${app_name}"
689689

0 commit comments

Comments
 (0)