append_profile_env() {
local key="$1"
local value="${!key:-}" if [[ -z "$value" || "$value" == "undefined" || "$value" == "null" ]]; then
return fi
printf 'export %s=%q\n'"$key""$value" >>"$profile_path"
}
write_secret_file() {
local destination="$1"
local source_env="$2"
local value="${!source_env:-}" if [[ -z "$value" ]]; then
return fi
mkdir -p "$(dirname "$destination")"
printf '%s'"$value" >"$destination"
chmod 600 "$destination"
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.