From 4a99d184b3b2f2296738e6ff41cc09e68a493a2a Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 20 May 2023 11:31:12 -0400 Subject: [PATCH] Alias aarch64 to amd64 --- installJRMC | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/installJRMC b/installJRMC index e0bb823..371f9b1 100755 --- a/installJRMC +++ b/installJRMC @@ -149,6 +149,9 @@ init() { x86_64) ARCH="amd64" ;; + aarch64) + ARCH="arm64" + ;; esac debug "Detected host platform: $ID $VERSION_ID $ARCH" @@ -313,8 +316,7 @@ parseInput() { USER_VERSION_SWITCH=1 ;; --arch) - shift - USER_ARCH="$1" + shift && USER_ARCH="$1" ;; --restorefile) shift && RESTOREFILE="$1" @@ -914,7 +916,6 @@ installMCGENERIC() { for f in "${raw_files[@]/#./}"; do echo "$f" >> "$SCRIPTDIR/.uninstall" done - #echo "${raw_files[@]/#./}" >> "$SCRIPTDIR/.uninstall" # Manually install files for f in "${raw_files[@]}"; do execute sudo cp -a "$f" "${f/#./}"