2019-01-05

This commit is contained in:
monlor
2019-01-05 20:03:38 +08:00
parent dff780adf3
commit 5abfd36ae9
10 changed files with 4 additions and 6 deletions

View File

@@ -4,4 +4,4 @@ needver="0.0.1"
supports="linux_arm,linux_mips,linux_x86_64"
newinfo="增加了启动ONMP安装程序的选项"
appinfo="一款开源且强大的包管理工具,许多功能都通过它来实现"
version="0.0.2"
version="0.0.3"

View File

@@ -37,9 +37,7 @@ init() {
[ $? -ne 0 ] && logsh "【Tools】" "创建目录失败,检查你的路径是否正确!" && end
umount -lf /opt > /dev/null 2>&1
mount -o blind $path /opt
if [ "$xq" = "R3" -o "$xq" = "R1CM" ]; then
wget -O - http://pkg.entware.net/binaries/mipsel/installer/installer.sh | sh
elif [ "$model" = "linux_arm" ]; then
if [ "$model" = "linux_arm" ]; then
if [ "$(uname -r | cut -d'.' -f1)" -ge '3' ]; then
wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh
else