From 2743dce8faca28ffea7e65d990976b6ddfbf063e Mon Sep 17 00:00:00 2001 From: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> Date: Sat, 19 Sep 2020 16:50:08 +0800 Subject: [PATCH] Apply suggestions from code review --- install-dat-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-dat-release.sh b/install-dat-release.sh index 79b9e0d..926adb2 100644 --- a/install-dat-release.sh +++ b/install-dat-release.sh @@ -55,9 +55,9 @@ check_sum() { } install_file() { - rm -f "${dir_tmp}"/*.sha256sum - mv "${dir_tmp}"/${file_dlc} "${dir_tmp}"/${file_site} - install -m 644 "${dir_tmp}"/* "${V2RAY}"/ + install -m 644 "${dir_tmp}"/${file_dlc} "${V2RAY}"/${file_site} + install -m 644 "${dir_tmp}"/${file_ip} "${V2RAY}"/${file_ip} + rm -r "${dir_tmp}" } main() {