mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
fix debian arm64 apt repo selection logic
This commit is contained in:
parent
33dc0c4753
commit
65201d47ed
1 changed files with 1 additions and 1 deletions
|
@ -1524,7 +1524,7 @@ __check_dpkg_architecture() {
|
|||
else
|
||||
# Saltstack official repository has arm64 metadata beginning with Debian 11,
|
||||
# use amd64 repositories on arm64 for anything older, since all pkgs are arch-independent
|
||||
if [ "$DISTRO_NAME_L" = "debian" ] || [ "$DISTRO_MAJOR_VERSION" -lt 11 ]; then
|
||||
if [ "$DISTRO_NAME_L" = "debian" ] && [ "$DISTRO_MAJOR_VERSION" -lt 11 ]; then
|
||||
__REPO_ARCH="amd64"
|
||||
else
|
||||
__REPO_ARCH="arm64"
|
||||
|
|
Loading…
Add table
Reference in a new issue