-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在最后开始安装时下载出错 #26
Comments
原因是这个压缩包没有用gzip格式压缩,所以不用加z指令。 在解压tar.gz文件的时候报错 百度可以查到 |
并不是,FRPS_INIT 打成了 FRPS.INIT,另外fun_getVer 打成了 fun_get_version |
按照你的报错日志是 解压方式不一致 |
你自己看 https://github.com/MvsCode/frps-onekey/blob/master/install-frps.sh#L173 首先如果直接回车,默认设置会到187行,走gitee的下载链接 |
嗯嗯,看到了,现在再试试 |
我自己修好了,另外还改了两处 @@ -821,8 +822,8 @@ update_program_server_clang(){
checkos
check_centosversion
check_os_bit
- fun_get_version
- remote_init_version=`wget -qO- ${FRPS.INIT} | sed -n '/'^version'/p' | cut -d\" -f2`
+ fun_getVer
+ remote_init_version=`wget -qO- ${FRPS_INIT} | sed -n '/'^version'/p' | cut -d\" -f2`
local_init_version=`sed -n '/'^version'/p' ${program_init} | cut -d\" -f2`
install_shell=${strPath}
if [ ! -z ${remote_init_version} ];then |
我是复制粘贴的命令(也可能是谷歌自动翻译的原因没仔细看) |
我是在脚本最前加了 set -x 看出来的 |
Thx |
Press any key to start...or Press Ctrl+c to cancel
frps install path:/usr/local/frps
config file for frps ... done
download frps ...
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'frp_0.32.0_linux_amd64/frps': No such file or directory
failed
The text was updated successfully, but these errors were encountered: