Modify the order of output content

pull/1/head
Dct Mei 2020-04-12 12:18:11 +08:00
parent f30b149b6d
commit 45f823dd06
No known key found for this signature in database
GPG Key ID: 50BF8B712DCAD7EA
1 changed files with 4 additions and 4 deletions

View File

@ -526,16 +526,16 @@ main() {
fi
rm -r "$TMP_DIRECTORY"
echo "removed: $TMP_DIRECTORY"
if [[ "$LOCAL_INSTALL" -eq '1' ]]; then
get_version
fi
echo "info: V2Ray $RELEASE_VERSION is installed."
echo "You may need to execute a command to remove dependent software: $PACKAGE_MANAGEMENT_REMOVE curl unzip"
if [[ "$V2RAY_RUNNING" -eq '1' ]]; then
start_v2ray
else
echo 'Please execute the command: systemctl enable v2ray; systemctl start v2ray'
fi
if [[ "$LOCAL_INSTALL" -eq '1' ]]; then
get_version
fi
echo "info: V2Ray $RELEASE_VERSION is installed."
}
main