Merge pull request #269 from Mattraks/fix

Fix gfwlist update errors
This commit is contained in:
coolsnowwolf authored and GitHub committed 2020-12-12 12:49:41 +08:00
commit 0eebbebf67
1 file changed
+1 -2
+1 -2
View File
@@ -18,8 +18,7 @@ prev = cur;
}' | sort -u
rm -f /tmp/gfwlist.txt
}
grep -w 'google' /tmp/ssr-update.$1 >/dev/null 2>&1
if [ $? ];then
if (grep -w 'google' /tmp/ssr-update.$1 >/dev/null) ;then
cp -rf /tmp/ssr-update.$1 /tmp/gfw.txt
else
generate_china_banned /tmp/ssr-update.$1 >/tmp/gfw.txt