./greys.sh 12345
new version(1.7.6.4) detection, update now...
###################################100.0%
./greys.sh: line 164: unzip: command not found
update fail, ignore this update.
Error: Unable to access jarfile /home/www/.greys/lib/0.7.6.4/greys/greys-core.jar
attach to target jvm(12345) failed.
./greys.sh 12345 new version(1.7.6.4) detection, update now... ###################################100.0% ./greys.sh: line 164: unzip: command not found update fail, ignore this update. Error: Unable to access jarfile /home/www/.greys/lib/0.7.6.4/greys/greys-core.jar attach to target jvm(12345) failed.
1)这里是否能支持tar的解压缩方式? 因为有些服务器可能没有安装unzip包执行不了unzip命令,但基本上都可以用tar命令。 2)更新失败后衍生的问题:通过get_local_version()方法获取路径异常,造成greys命令不能正常启动。这里是否考虑可以添加默认版本解决?