v2fly / fhs-install-v2ray

Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd
GNU General Public License v3.0
6.28k stars 1.45k forks source link

info: No new version. The current version of V2Ray is .mktemp无法写入 #235

Closed xushp closed 2 years ago

xushp commented 2 years ago

https://github.com/v2fly/fhs-install-v2ray/blob/adf22292f788d003bdc8cd38e5ac2b3069f0bdab/install-release.sh#L237 这句创建的文件无法写入,导致后续比较版本出错,linux版本是ubuntu20.04 把他修改成 touch aaaa.tmp TMP_FILE="aaaa.tmp"就可以了

IceCodeNew commented 2 years ago

你应该解决 mktemp 无法写入的问题,而不是不使用 mktemp 我觉得这个工具比你自己瞎起一个文件当作临时文件要好很多