#!/bin/bash # 推荐使用的 case 判断参数: # OP_Maintainer Openwrt 源码作者 # OP_REPO_NAME Openwrt 仓库名称 # OP_BRANCH Openwrt 源码分支/Tag # 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