diff -ru rinse-3.7/bin/rinse rinse-3.7+bab.1/bin/rinse
--- rinse-3.7/bin/rinse	2020-06-24 23:26:42.000000000 +1000
+++ rinse-3.7+bab.1/bin/rinse	2022-06-26 23:31:46.000000000 +1000
@@ -57,7 +57,7 @@
 =over 8
 
 =item B<--arch>
-Specify the architecture to install.  Valid choices are 'amd64' and 'i386' only.
+Specify the architecture to install.  Valid choices are 'amd64', 'i386' or 'arm64' only.
 
 =item B<--add-pkg-list>
 Add a list of additional packages.
@@ -515,13 +515,16 @@
     if ( $CONFIG{ 'arch' } ) {
       if ( ( $CONFIG{ 'arch' } ne "i386" ) &&
            ( $CONFIG{ 'arch' } ne "amd64" ) &&
-           ( $CONFIG{ 'arch' } ne "x86_64" ) ) {
+           ( $CONFIG{ 'arch' } ne "x86_64" ) &&
+           ( $CONFIG{ 'arch' } ne "arm64" ) &&
+           ( $CONFIG{ 'arch' } ne "aarch64" ) ) {
         print <<EOARCH;
 
-  Only two architectures are supported:
+  Only three architectures are supported:
 
    i386
    amd64 or x86_64
+   arm64 or aarch64
 
 EOARCH
         exit;
@@ -535,7 +538,7 @@
         print <<EOF;
 
   The name of the architecture is mandatory.
-  Please specify i386 or amd64.
+  Please specify i386, amd64 or arm64.
 EOF
         exit;
     }
@@ -888,6 +891,9 @@
     if ( $CONFIG{ 'arch' } eq 'amd64' ) {
       $arch = 'x86_64';
     }
+    if ( $CONFIG{ 'arch' } eq 'arm64' ) {
+      $arch = 'aarch64';
+    }
     # 32bit packages come in a variety of specific formats now
     if ( $CONFIG{ 'arch' } eq 'i386' ) {
       $arch = 'i386|i586|i686';
