chore: bail out stable installation when running on Linux Arm64 (#9991)
Stable browser channels are only shipped on x86
This commit is contained in:
		
							parent
							
								
									81ea40bb00
								
							
						
					
					
						commit
						3e96dcd82a
					
				|  | @ -2,6 +2,11 @@ | |||
| set -e | ||||
| set -x | ||||
| 
 | ||||
| if [[ $(arch) == "aarch64" ]]; then | ||||
|   echo "ERROR: not supported on Linux Arm64" | ||||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; } | ||||
| if is_user_root; then | ||||
|   maybesudo="" | ||||
|  |  | |||
|  | @ -2,6 +2,11 @@ | |||
| set -e | ||||
| set -x | ||||
| 
 | ||||
| if [[ $(arch) == "aarch64" ]]; then | ||||
|   echo "ERROR: not supported on Linux Arm64" | ||||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; } | ||||
| if is_user_root; then | ||||
|   maybesudo="" | ||||
|  |  | |||
|  | @ -3,6 +3,11 @@ | |||
| set -e | ||||
| set -x | ||||
| 
 | ||||
| if [[ $(arch) == "aarch64" ]]; then | ||||
|   echo "ERROR: not supported on Linux Arm64" | ||||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; } | ||||
| if is_user_root; then | ||||
|   maybesudo="" | ||||
|  |  | |||
|  | @ -3,6 +3,11 @@ | |||
| set -e | ||||
| set -x | ||||
| 
 | ||||
| if [[ $(arch) == "aarch64" ]]; then | ||||
|   echo "ERROR: not supported on Linux Arm64" | ||||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; } | ||||
| if is_user_root; then | ||||
|   maybesudo="" | ||||
|  |  | |||
|  | @ -3,6 +3,11 @@ | |||
| set -e | ||||
| set -x | ||||
| 
 | ||||
| if [[ $(arch) == "aarch64" ]]; then | ||||
|   echo "ERROR: not supported on Linux Arm64" | ||||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| is_user_root () { [ "${EUID:-$(id -u)}" -eq 0 ]; } | ||||
| if is_user_root; then | ||||
|   maybesudo="" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue