chore: Add changelog entry + lint fix

This commit is contained in:
Brennan Kinney 2025-02-17 18:07:36 +13:00 committed by GitHub
parent 56803f6ebe
commit 4bf589681a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file. The format
- **Internal:**
- Add password confirmation to several `setup` CLI subcommands ([#4072](https://github.com/docker-mailserver/docker-mailserver/pull/4072))
- Added a `debug getmail` subcommand to `setup` ([#4346](https://github.com/docker-mailserver/docker-mailserver/pull/4346))
- Added Smallstep `step` CLI command ([#4376](https://github.com/docker-mailserver/docker-mailserver/pull/4376))
### Updates

View File

@ -38,13 +38,18 @@ function _pre_installation_steps() {
# Install third-party commands to /usr/local/bin
function _install_utils() {
local ARCH_A=$(uname -m)
local ARCH_A
ARCH_A=$(uname --machine)
# Alternate naming convention support: x86_64 (amd64) / aarch64 (arm64)
# https://en.wikipedia.org/wiki/X86-64#Industry_naming_conventions
local ARCH_B
case "${ARCH_A}" in
( 'x86_64' ) ARCH_B='amd64' ;;
( 'x86_64' ) ARCH_B='amd64' ;;
( 'aarch64' ) ARCH_B='arm64' ;;
( * )
_log 'error' "Unsupported arch: '${ARCH_A}'"
return 1
;;
esac
# TIP: `*.tar.gz` releases tend to forget to reset UID/GID ownership when archiving.