mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-10 03:55:35 +08:00
fixed missing gfwlist and chinalist rules
This commit is contained in:
parent
bdceaf9a2b
commit
ff3f769df0
@ -30,12 +30,14 @@ cd $GOPATH/src/$GEOSITE_REPO
|
|||||||
echo -e "${GREEN}>>> generating GFWList...${NC}"
|
echo -e "${GREEN}>>> generating GFWList...${NC}"
|
||||||
curl -sSL $getGFWLIST_SCRIPT \
|
curl -sSL $getGFWLIST_SCRIPT \
|
||||||
| bash -s -- -l -o ./data/gfwlist
|
| bash -s -- -l -o ./data/gfwlist
|
||||||
|
echo "include:gfwlist" >> ./data/geolocation-!cn
|
||||||
echo -e "${GREEN}>>> Finished GFWList ${NC}"
|
echo -e "${GREEN}>>> Finished GFWList ${NC}"
|
||||||
|
|
||||||
echo -e "${GREEN}>>> generating Chinese domains list...${NC}"
|
echo -e "${GREEN}>>> generating Chinese domains list...${NC}"
|
||||||
curl -sSL $CHINA_DOMAINS_URL \
|
curl -sSL $CHINA_DOMAINS_URL \
|
||||||
| awk -F '/' '{print $2}' \
|
| awk -F '/' '{print $2}' \
|
||||||
> ./data/chinalist
|
> ./data/chinalist
|
||||||
|
echo "include:chinalist" >> ./data/cn
|
||||||
echo -e "${GREEN}>>> Finished Chinalist ${NC}"
|
echo -e "${GREEN}>>> Finished Chinalist ${NC}"
|
||||||
|
|
||||||
echo -e "${GREEN}>>> building geosite.dat file...${NC}"
|
echo -e "${GREEN}>>> building geosite.dat file...${NC}"
|
||||||
|
Loading…
Reference in New Issue
Block a user