-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages-leo-23.05.sh
127 lines (105 loc) · 6.35 KB
/
packages-leo-23.05.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#!/bin/bash
#rm -Rf *
#git rm --cache *
#git clone --depth 1 https://github.com/kiddin9/openwrt-packages && mv -n openwrt-packages/luci-app-bypass openwrt-packages/luci-app-fileassistant ./ ; rm -rf openwrt-packages
#rm -rf luci-app-openclash
git clone https://github.com/linkease/istore.git
git clone https://github.com/esirplayground/luci-app-poweroff
git clone https://github.com/sirpdboy/luci-app-autotimeset
git clone --depth 1 https://github.com/sirpdboy/luci-app-lucky
git clone --depth 1 https://github.com/sirpdboy/luci-app-partexp
git clone --depth 1 https://github.com/kenzok8/openwrt-packages packages && mv -n packages/luci-app-quickstart ./;rm -rf packages
git clone --depth 1 https://github.com/kenzok8/openwrt-packages packages && mv -n packages/quickstart ./;rm -rf packages
# Theme
git clone https://github.com/jerrykuku/luci-theme-argon.git
git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config
git clone https://github.com/kiddin9/luci-theme-edge.git
git clone --depth 1 https://github.com/derisamedia/luci-theme-alpha
git clone https://github.com/animegasan/luci-app-alpha-config
# ==================================================
rm -rf .svn
rm -rf ./*/.git
rm -rf ./*/.svn
rm -f .gitattributes .gitignore
rm -rf .github
rm LICENSE
mv LICENSE.packages LICENSE
exit 0
#DNS
#git clone https://github.com/QiuSimons/openwrt-mos.git
#svn co https://github.com/kiddin9/openwrt-packages/trunk/adguardhome
#svn co https://github.com/sirpdboy/sirpdboy-package/trunk/luci-app-adguardhome
#git clone https://github.com/pymumu/openwrt-smartdns.git
#chmod 755 luci-app-adguardhome/root/etc/init.d/AdGuardHome
#sed -i 's/默认用户名密码都是root/默认用户名密码都是admin/g' adguardhome/patches/default_username.patch
#sed -i 's/\<control\>/system/g' luci-app-autotimeset/luasrc/controller/autotimeset.lua
#sed -i 's/\<Control\>/System/g' luci-app-autotimeset/luasrc/controller/autotimeset.lua
#Theme
#git clone https://github.com/jerrykuku/luci-theme-argon.git package/luci-theme-argon
#git clone https://github.com/jerrykuku/luci-app-argon-config.git package/luci-app-argon-config
#下面是抽取他人仓库中的某个插件,相当于切片处理
#=============================================================================================
#方法一:用svn co命令&&用trunk替换路径中的tree/main
#https://github.com/kenzok8/small-package/tree/main/luci-app-quickstart
#https://github.com/kenzok8/small-package/tree/main/quickstart
# svn co https://github.com/kenzok8/small-package/trunk/luci-app-quickstart
# svn co https://github.com/kenzok8/small-package/trunk/quickstart
#svn co https://github.com/kiddin9/openwrt-packages/trunk/aria2
#svn co https://github.com/kiddin9/openwrt-packages/trunk/ariang
#svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-aria2
#svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-qbittorrent
#svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-qbittorrent-simple
#svn co https://github.com/sirpdboy/sirpdboy-package/trunk/aria2
#svn co https://github.com/sirpdboy/sirpdboy-package/trunk/luci-app-aria2
#方法二:有点绕路,但殊途同归
#git clone --depth 1 https://github.com/kenzok8/small-package && mv -n small-package/luci-app-quickstart small-package/quickstart ./ ; rm -rf small-package
#=============================================================================================
#git clone https://github.com/animegasan/luci-app-quickstart
#git clone --depth 1 https://github.com/kiddin9/openwrt-packages && mv -n openwrt-packages/luci-app-quickstart ./ ; rm -rf openwrt-packages
# git_clone https://github.com/sirpdboy/luci-app-lucky oplucky && mv -f oplucky/*/ ./ && rm -rf oplucky
# git_clone https://github.com/sirpdboy/luci-app-partexp
# git_clone https://github.com/sirpdboy/luci-app-ddns-go ddns-go1 && mvdir ddns-go1
# git_clone https://github.com/sirpdboy/netspeedtest && mv -n netspeedtest/luci-app-netspeedtest ./ ; rm -rf netspeedtest
#git_clone https://github.com/gdck/luci-app-cupsd cupsd1 && mv -n cupsd1/luci-app-cupsd ./ ; rm -rf cupsd1
rm -rf .svn
rm -f .gitattributes .gitignore
rm -rf .github
rm -rf ./*/.git
rm -rf ./*/.svn
rm -rf ./*/*/.git
rm -rf ./*/*/.svn
rm -rf ./*/*/.github
exit 0
==================================================
下面的代码不加注释也不会被执行
=============================================================================================
echo >> feeds.conf.default
echo 'src-git istore https://github.com/linkease/istore;main' >> feeds.conf.default
./scripts/feeds update istore
./scripts/feeds install -d y -p istore luci-app-store
#git clone https://github.com/linkease/istore.git
#git clone https://github.com/linkease/istore-ui.git
#git clone https://github.com/firkerword/luci-app-lucky.git
#git clone https://github.com/immortalwrt/homeproxy.git
#svn co https://github.com/haiibo/openwrt-packages/trunk/cpulimit
#passwall
# echo "src-git passwall_packages https://github.com/xiaorouji/openwrt-passwall-packages.git;main" >> "feeds.conf.default"
# echo "src-git passwall https://github.com/xiaorouji/openwrt-passwall.git;main" >> "feeds.conf.default"
#svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
#git clone https://github.com/fw876/helloworld.git package/ssr
# git clone -b master https://github.com/linkease/nas-packages
# git clone -b main https://github.com/linkease/nas-packages-luci
#svn co https://github.com/kiddin9/openwrt-packages/trunk/adguardhome
#svn co https://github.com/sirpdboy/sirpdboy-package/trunk/luci-app-adguardhome
#chmod 755 luci-app-adguardhome/root/etc/init.d/AdGuardHome
#sed -i 's/默认用户名密码都是root/默认用户名密码都是admin/g' adguardhome/patches/default_username.patch
#sed -i 's/\<control\>/system/g' luci-app-autotimeset/luasrc/controller/autotimeset.lua
#sed -i 's/\<Control\>/System/g' luci-app-autotimeset/luasrc/controller/autotimeset.lua
#git clone https://github.com/QiuSimons/openwrt-mos.git
#it clone https://github.com/linkease/nas-packages-luci.git
#git clone https://github.com/sirpdboy/autosamba
#git clone https://github.com/sirpdboy/luci-app-netdata
#git clone https://github.com/Jason6111/luci-app-netdata
#git clone --depth 1 https://github.com/sirpdboy/luci-app-poweroffdevice
#git clone --depth 1 https://github.com/sirpdboy/luci-app-autotimeset
#git clone -b 18.06 https://github.com/kiddin9/luci-theme-edge package/luci-theme-edge