From e6d16bc69d2f0ad03a20a7a8a30c96a9a34eb70a Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sat, 11 Apr 2020 22:52:15 +0800 Subject: [PATCH] Modify the location of the output --- install-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-release.sh b/install-release.sh index 3bc2f6f..137d2fe 100644 --- a/install-release.sh +++ b/install-release.sh @@ -521,6 +521,8 @@ main() { echo 'installed: /etc/systemd/system/v2ray.service' echo 'installed: /etc/systemd/system/v2ray@.service' fi + rm -r "$TMP_DIRECTORY" + echo "removed: $TMP_DIRECTORY" echo "You may need to execute a command to remove dependent software: $PACKAGE_MANAGEMENT_REMOVE curl unzip" if [[ "$V2RAY_RUNNING" -eq '1' ]]; then startV2Ray @@ -530,8 +532,6 @@ main() { if [[ "$LOCAL_INSTALL" -eq '1' ]]; then getVersion fi - rm -r "$TMP_DIRECTORY" - echo "removed: $TMP_DIRECTORY" echo "info: V2Ray $RELEASE_VERSION is installed." }