优化第三方软件包添加方式

This commit is contained in:
Hyy2001X 2021-07-17 00:15:56 +08:00
parent 2bfa03cf6c
commit cd7c4f8234
4 changed files with 44 additions and 12 deletions

View File

@ -1,7 +1,21 @@
svn other luci-app-smartdns kenzok8/openwrt-packages/trunk #!/bin/bash
git other luci-app-serverchan tty228
svn other luci-app-socat Lienol/openwrt-package/trunk # 推荐使用的 case 判断参数:
git other luci-app-onliner Hyy2001X # OP_Maintainer Openwrt 源码作者
git other luci-app-adguardhome Hyy2001X # OP_REPO_NAME Openwrt 仓库名称
svn other luci-app-eqos kenzok8/openwrt-packages/trunk # OP_BRANCH Openwrt 源码分支/Tag
git other OpenClash vernesong master # TARGET_PROFILE 设备名称
# TARGET_BOARD 设备架构
case "${OP_Maintainer},${OP_BRANCH}" in
coolsnowwolf,master)
AddPackage svn other luci-app-smartdns kenzok8/openwrt-packages/trunk
AddPackage git other luci-app-serverchan tty228
AddPackage svn other luci-app-socat Lienol/openwrt-package/trunk
AddPackage git other luci-app-onliner Hyy2001X
AddPackage git other luci-app-adguardhome Hyy2001X
AddPackage svn other luci-app-eqos kenzok8/openwrt-packages/trunk
AddPackage git other OpenClash vernesong master
AddPackage git other luci-app-adblock-plus small-5 master
;;
esac

View File

@ -1 +1,7 @@
git other luci-app-usb3disable rufengsuixing #!/bin/bash
case "${OP_Maintainer},${OP_BRANCH}" in
coolsnowwolf,master)
AddPackage git other luci-app-usb3disable rufengsuixing
;;
esac

View File

@ -1,2 +1,8 @@
git other luci-app-usb3disable rufengsuixing #!/bin/bash
svn package/kernel mt76 openwrt/openwrt/trunk/package/kernel
case "${OP_Maintainer},${OP_BRANCH}" in
coolsnowwolf,master)
AddPackage git other luci-app-usb3disable rufengsuixing
# AddPackage svn package/kernel mt76 openwrt/openwrt/trunk/package/kernel
;;
esac

View File

@ -1,2 +1,8 @@
git other openwrt-passwall xiaorouji main #!/bin/bash
git other luci-app-shutdown Hyy2001X
case "${OP_Maintainer},${OP_BRANCH}" in
coolsnowwolf,master)
AddPackage git other openwrt-passwall xiaorouji main
AddPackage git other luci-app-shutdown Hyy2001X
;;
esac