We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf00bd commit e544cf0Copy full SHA for e544cf0
udroid/src/udroid.sh
@@ -134,7 +134,15 @@ install() {
134
############### END OF OPTION PARSER ##############
135
136
# Finally to get link
137
- arch=$(dpkg --print-architecture)
+
138
+ # arch transition
139
+ case $(dpkg --print-architecture) in
140
+ arm64 | aarch64) arch=arm64 ;;
141
+ armhf | armv7l | armv8l) arch=armhf ;;
142
+ x86_64| amd64) arch=amd64;;
143
+ *) die "unsupported architecture" ;;
144
+ esac
145
146
link=$(cat $distro_data | jq -r ".$suite.$varient.${arch}url")
147
LOG "link=$link"
148
name=$(cat $distro_data | jq -r ".$suite.$varient.Name")
0 commit comments