mirror of
https://github.com/kenzok8/AutoSync.git
synced 2025-01-08 11:47:26 +08:00
int
This commit is contained in:
parent
08079d288f
commit
f26922751b
1
main.sh
1
main.sh
@ -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
|
||||
|
9
small.sh
9
small.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user