Skip to content

Commit 7151d99

Browse files
authored
Update ipk.sh
1 parent aee8f89 commit 7151d99

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

ipk.sh

+1-27
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,12 @@ pushd package/luci-app-openclash/tools/po2lmo
44
make && sudo make install
55
popd
66

7-
# 添加额外软件包
8-
git clone https://github.com/jerrykuku/luci-app-jd-dailybonus.git package/luci-app-jd-dailybonus
9-
git clone https://github.com/jerrykuku/lua-maxminddb.git package/lua-maxminddb
10-
git clone https://github.com/jerrykuku/luci-app-vssr.git package/luci-app-vssr
11-
git clone https://github.com/kongfl888/luci-app-adguardhome.git package/luci-app-adguardhome
12-
# git clone https://github.com/garypang13/luci-app-bypass package/luci-app-bypass
13-
14-
# Add luci-app-smartdns & smartdns
15-
svn co https://github.com/281677160/openwrt-package/trunk/luci-app-smartdns
16-
177
# 科学上网插件依赖
188
svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash
199
svn co https://github.com/xiaorouji/openwrt-passwall/branches/luci/luci-app-passwall package/luci-app-passwall
20-
#svn co https://github.com/kenzok8/openwrt-packages/trunk/luci-app-passwall2 package/luci-app-passwall2
21-
svn co https://github.com/xiaorouji/openwrt-passwall2/tree/main/luci-app-passwall2 package/luci-app-passwall2
10+
svn co https://github.com/xiaorouji/openwrt-passwall2/trunk/luci-app-passwall2 package/luci-app-passwall2
2211
svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus package/luci-app-ssr-plus
2312
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/sagernet-core package/sagernet-core
24-
svn co https://github.com/kenzok8/luci-app-bypass/trunk/luci-app-bypass package/luci-app-bypass
2513

2614
# sagernet-core
2715
sed -i 's|$(LN) v2ray $(1)/usr/bin/xray|#$(LN) v2ray $(1)/usr/bin/xray|g' package/sagernet-core/Makefile
@@ -57,19 +45,5 @@ svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2tcp package/dns2t
5745
svn co https://github.com/fw876/helloworld/trunk/lua-neturl package/lua-neturl
5846
svn co https://github.com/fw876/helloworld/trunk/redsocks2 package/redsocks2
5947

60-
# themes
61-
# Add luci-theme-argon
62-
git clone --depth=1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon
63-
git clone --depth=1 https://github.com/jerrykuku/luci-app-argon-config
64-
rm -rf ../../customfeeds/luci/themes/luci-theme-argon
65-
rm -rf ./luci-theme-argon/htdocs/luci-static/argon/img/bg1.jpg
66-
cp -f $GITHUB_WORKSPACE/data/bg1.jpg luci-theme-argon/htdocs/luci-static/argon/img/bg1.jpg
67-
68-
#修改makefile
69-
find package/*/ -maxdepth 2 -path "*/Makefile" | xargs -i sed -i 's/include\ \.\.\/\.\.\/luci\.mk/include \$(TOPDIR)\/feeds\/luci\/luci\.mk/g' {}
70-
find package/*/ -maxdepth 2 -path "*/Makefile" | xargs -i sed -i 's/include\ \.\.\/\.\.\/lang\/golang\/golang\-package\.mk/include \$(TOPDIR)\/feeds\/packages\/lang\/golang\/golang\-package\.mk/g' {}
71-
find package/*/ -maxdepth 2 -path "*/Makefile" | xargs -i sed -i 's/PKG_SOURCE_URL:=\@GHREPO/PKG_SOURCE_URL:=https:\/\/github\.com/g' {}
72-
find package/*/ -maxdepth 2 -path "*/Makefile" | xargs -i sed -i 's/PKG_SOURCE_URL:=\@GHCODELOAD/PKG_SOURCE_URL:=https:\/\/codeload\.github\.com/g' {}
73-
7448
./scripts/feeds update -a
7549
./scripts/feeds install -a

0 commit comments

Comments
 (0)