aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-09-01 07:28:39 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-09-01 07:28:39 +0200
commitd54b96d613441f4ac350b10651d4d5d97ab460b8 (patch)
tree0a54eaf51885f1aebae4b446dfd4a2cb59e252b8 /bin
parentb1af26773ccc52d7811a887d2b8f4013f4b27aaf (diff)
downloaddotfiles-d54b96d613441f4ac350b10651d4d5d97ab460b8.tar.gz
dotfiles-d54b96d613441f4ac350b10651d4d5d97ab460b8.zip
bin/doctor: Allow ARM64 as well
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/doctor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/doctor.rb b/bin/doctor.rb
index 3b0093a..fc1a25f 100755
--- a/bin/doctor.rb
+++ b/bin/doctor.rb
@@ -21,7 +21,8 @@ require 'pathname'
##
# Early checks.
-raise 'Only Linux on x86 supported!' if RUBY_PLATFORM != 'x86_64-linux'
+raise 'Only Linux on x86/ARM64 supported!' if RUBY_PLATFORM != 'x86_64-linux' &&
+ RUBY_PLATFORM != 'aarch64-linux'
raise 'Only CRuby, sorry!' if RUBY_ENGINE != 'ruby'
##