minor changes

master
Alex 2022-12-24 01:17:20 -06:00
parent e596d0f94f
commit fda7384fe4
1 changed files with 1 additions and 3 deletions

View File

@ -26,12 +26,10 @@ update() {
fi fi
#curl https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts -o ./.sb_hosts
#[ -f "$BLOCKFILE" ] && echo "blocklist file found." && sed 's/^/127.0.0.1 /g' "$BLOCKFILE" > ./blocklist #[ -f "$BLOCKFILE" ] && echo "blocklist file found." && sed 's/^/127.0.0.1 /g' "$BLOCKFILE" > ./blocklist
#if [ -f "./blocklist" ]; then #if [ -f "./blocklist" ]; then
# cat ./.hosts.orig ./.swc_hosts ./.sb_hosts ./blocklist > ./hosts # cat ./.hosts.orig ./.swc_hosts ./blocklist > ./hosts
#else #else
cat ./.hosts.orig ./.swc_hosts > ./hosts cat ./.hosts.orig ./.swc_hosts > ./hosts
#fi #fi