From 45f823dd06b065c4a10707356d84c071f7d2033e Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sun, 12 Apr 2020 12:18:11 +0800 Subject: [PATCH] Modify the order of output content --- install-release.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install-release.sh b/install-release.sh index 2adc620..0d1466f 100644 --- a/install-release.sh +++ b/install-release.sh @@ -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