This commit is contained in:
kenzok8 2022-04-10 00:18:59 +08:00
parent 08079d288f
commit f26922751b
2 changed files with 6 additions and 4 deletions

View File

@ -14,6 +14,7 @@ function mvdir() {
mv -n `find $1/* -maxdepth 0 -type d` ./
rm -rf $1
}
git clone --depth 1 https://github.com/kiddin9/luci-app-dnsfilter
git clone --depth 1 https://github.com/yaof2/luci-app-ikoolproxy
git clone --depth 1 https://github.com/tty228/luci-app-serverchan

View File

@ -1,8 +1,4 @@
#!/bin/bash
git rm -r --cache * >/dev/null 2>&1 &
function git_clone() {
git clone --depth 1 $1 $2 || true
}
function git_sparse_clone() {
branch="$1" rurl="$2" localdir="$3" && shift 3
git clone -b $branch --depth 1 --filter=blob:none --sparse $rurl $localdir
@ -14,6 +10,11 @@ cd ..
rm -rf $localdir
}
function mvdir() {
mv -n `find $1/* -maxdepth 0 -type d` ./
rm -rf $1
}
git clone --depth 1 -b packages https://github.com/xiaorouji/openwrt-passwall && mv -n openwrt-passwall/chinadns-ng openwrt-passwall/dns2socks openwrt-passwall/hysteria openwrt-passwall/ipt2socks openwrt-passwall/pdnsd-alt openwrt-passwall/trojan-go openwrt-passwall/trojan-plus openwrt-passwall/ssocks ./ ; rm -rf openwrt-passwall
svn co https://github.com/kenzok8/jell/trunk/brook
svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev