Skip to content

Commit 7dec4dc

Browse files
author
qount25
committedMar 8, 2025
Refactor: use Pgpm::Arch.in_scope to determine architecture
1 parent 70cb28a commit 7dec4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/pgpm/deb/spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def full_pkg_name
5656
def arch
5757
# https://memgraph.com/blog/ship-it-on-arm64-or-is-it-aarch64
5858
# Debian suffixes are "amd64" and "arm64". Here we translate:
59-
case Pgpm::Arch.host.name
59+
case Pgpm::Arch.in_scope.name
6060
when "amd64", "x86_64"
6161
"amd64"
6262
when "aarch64", "arm64"

0 commit comments

Comments
 (0)
Please sign in to comment.