Alias aarch64 to amd64
This commit is contained in:
@@ -149,6 +149,9 @@ init() {
|
|||||||
x86_64)
|
x86_64)
|
||||||
ARCH="amd64"
|
ARCH="amd64"
|
||||||
;;
|
;;
|
||||||
|
aarch64)
|
||||||
|
ARCH="arm64"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
debug "Detected host platform: $ID $VERSION_ID $ARCH"
|
debug "Detected host platform: $ID $VERSION_ID $ARCH"
|
||||||
@@ -313,8 +316,7 @@ parseInput() {
|
|||||||
USER_VERSION_SWITCH=1
|
USER_VERSION_SWITCH=1
|
||||||
;;
|
;;
|
||||||
--arch)
|
--arch)
|
||||||
shift
|
shift && USER_ARCH="$1"
|
||||||
USER_ARCH="$1"
|
|
||||||
;;
|
;;
|
||||||
--restorefile)
|
--restorefile)
|
||||||
shift && RESTOREFILE="$1"
|
shift && RESTOREFILE="$1"
|
||||||
@@ -914,7 +916,6 @@ installMCGENERIC() {
|
|||||||
for f in "${raw_files[@]/#./}"; do
|
for f in "${raw_files[@]/#./}"; do
|
||||||
echo "$f" >> "$SCRIPTDIR/.uninstall"
|
echo "$f" >> "$SCRIPTDIR/.uninstall"
|
||||||
done
|
done
|
||||||
#echo "${raw_files[@]/#./}" >> "$SCRIPTDIR/.uninstall"
|
|
||||||
# Manually install files
|
# Manually install files
|
||||||
for f in "${raw_files[@]}"; do
|
for f in "${raw_files[@]}"; do
|
||||||
execute sudo cp -a "$f" "${f/#./}"
|
execute sudo cp -a "$f" "${f/#./}"
|
||||||
|
|||||||
Reference in New Issue
Block a user