Skip to content

Commit

Permalink
CI: sync code
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 16, 2024
1 parent b1b6a13 commit 0ce07d0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,18 @@ if [ "$1" == "update" ];then
sparse_checkout $lede_packages_dir "https://github.com/coolsnowwolf/packages" "$lede_packages_pkg"
cp -rv $lede_packages_dir/net/* package/

##
immortalwrt_packages_dir=feeds/immortalwrt/packages
immortalwrt_packages_pkg="net/adguardhome"
sparse_checkout $immortalwrt_packages_dir "https://github.com/immortalwrt/packages" "$immortalwrt_packages_pkg" $([ "$branch" == "main" ] && echo master || echo $branch)

for t in `find $immortalwrt_packages_dir -name 'Makefile'`;do
cp_pkg_var $t
done

##
official_packages_dir=feeds/openwrt/packages
official_packages_pkg="net/adguardhome net/dnsproxy"
official_packages_pkg="net/dnsproxy"
sparse_checkout $official_packages_dir "https://github.com/openwrt/packages" "$official_packages_pkg" $([ "$branch" == "main" ] && echo master || echo $branch)

for t in `find $official_packages_dir -name 'Makefile'`;do
Expand Down
2 changes: 1 addition & 1 deletion package/adguardhome/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_URL:=https://github.com/AdguardTeam/AdGuardHome
PKG_MIRROR_HASH:=41eec797b0a721730d8564e079379aafe045c5491f27a35de679c524ba43c678
PKG_MIRROR_HASH:=

PKG_LICENSE:=GPL-3.0-only
PKG_LICENSE_FILES:=LICENSE.txt
Expand Down

0 comments on commit 0ce07d0

Please sign in to comment.