Skip to content

Commit

Permalink
Do not use nethserver mirrored repositories on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
markVnl committed Jan 14, 2024
1 parent a4741df commit edbb853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ source /etc/os-release

echo "Install dependencies:"
if [[ "${PLATFORM_ID}" == "platform:el9" ]]; then
if [[ "${ID}" == rocky ]]; then
if [[ "${ID}" == rocky ]] && [[ $(arch) != aarch64 ]]; then
print_ns_yum_config > /etc/yum.repos.d/nethserver.repo
dnf config-manager --save --set-disabled appstream baseos extras
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
Expand Down

0 comments on commit edbb853

Please sign in to comment.