Apply suggestions from code review

pull/93/head
IceCodeNew 2020-09-19 16:50:08 +08:00 committed by GitHub
parent 576774c2fe
commit 2743dce8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -55,9 +55,9 @@ check_sum() {
} }
install_file() { install_file() {
rm -f "${dir_tmp}"/*.sha256sum install -m 644 "${dir_tmp}"/${file_dlc} "${V2RAY}"/${file_site}
mv "${dir_tmp}"/${file_dlc} "${dir_tmp}"/${file_site} install -m 644 "${dir_tmp}"/${file_ip} "${V2RAY}"/${file_ip}
install -m 644 "${dir_tmp}"/* "${V2RAY}"/ rm -r "${dir_tmp}"
} }
main() { main() {