2020-03-06 19:12:30

This commit is contained in:
monlor
2020-03-06 19:12:31 +08:00
parent 5bdc75ac56
commit 5303288d1f
6 changed files with 10 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
#copyright by monlor
source /etc/mixbox/bin/base source /etc/mixbox/bin/base
eval `mbdb export frps` eval `mbdb export frps`

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -4,4 +4,4 @@ needver=""
supports="linux_arm,linux_mips,linux_x86_64" supports="linux_arm,linux_mips,linux_x86_64"
appinfo="一款支持多平台多架构的Shell工具箱" appinfo="一款支持多平台多架构的Shell工具箱"
newinfo="修复插件安装失败的bug" newinfo="修复插件安装失败的bug"
version="0.1.9.3" version="0.1.9.4"

View File

@@ -63,15 +63,15 @@ base_decode() {
# $1 > $2 => -1 # $1 > $2 => -1
# $1 < $2 => 1 # $1 < $2 => 1
# $1 = $2 => 0 # $1 = $2 => 0
versioncmp() { # versioncmp() {
[ "$1" = "$2" ] && echo -n "0" && return # [ "$1" = "$2" ] && echo -n "0" && return
if test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; then # if test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; then
echo -n "-1" # echo -n "-1"
else # else
echo -n "1" # echo -n "1"
fi # fi
} # }