`shfmt -i 4 -ci test`

So as to make diff less.
pull/104/head
IceCodeNew 2020-09-19 17:19:38 +08:00 committed by GitHub
parent 2ce0418303
commit cd8d0d4870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 39 deletions

View File

@ -41,7 +41,7 @@ identify_the_operating_system_and_architecture() {
'armv6l') 'armv6l')
MACHINE='arm32-v6' MACHINE='arm32-v6'
;; ;;
'armv7' | 'armv7l' ) 'armv7' | 'armv7l')
MACHINE='arm32-v7a' MACHINE='arm32-v7a'
;; ;;
'armv8' | 'aarch64') 'armv8' | 'aarch64')
@ -300,7 +300,7 @@ install_v2ray() {
# Install V2Ray configuration file to $JSON_PATH # Install V2Ray configuration file to $JSON_PATH
if [[ ! -d "$JSON_PATH" ]]; then if [[ ! -d "$JSON_PATH" ]]; then
install -d "$JSON_PATH" install -d "$JSON_PATH"
echo "{}" > "${JSON_PATH}config.json" echo "{}" >"${JSON_PATH}config.json"
CONFIG_NEW='1' CONFIG_NEW='1'
fi fi