File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ function block_content() {
142142 nuke_if_we_dont_have_internet
143143 if [ ! -f " ${cache_hosts} 1" ] || [ " $status " = " update" ]; then
144144 mkdir -p " $persist_dir /cache/$block_type "
145- log_message " Downloading hosts for $block_type . " && echo " - Downloading hosts for $block_type ."
145+ echo " - Downloading hosts for $block_type ."
146146 fetch " ${cache_hosts} 1" https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/${block_type} -only/hosts & > /dev/null
147147 if [ " $block_type " = " porn" ]; then
148148 fetch " ${cache_hosts} 2" https://raw.githubusercontent.com/johnlouie09/Anti-Porn-HOSTS-File/refs/heads/master/HOSTS.txt & > /dev/null &
@@ -332,6 +332,7 @@ case "$(tolower "$1")" in
332332 [ " $block_porn " = 1 ] && block_content " porn" && log_message " Updating porn sites blocklist..."
333333 [ " $block_gambling " = 1 ] && block_content " gambling" && log_message " Updating gambling sites blocklist..."
334334 [ " $block_fakenews " = 1 ] && block_content " fakenews" && log_message " Updating Fake news sites blocklist..."
335+ [ " $block_social " = 1 ] && block_content " social" && log_message " Updating Social sites blocklist..."
335336 update_status
336337 log_message " Successfully updated hosts."
337338 echo " - Done."
You can’t perform that action at this time.
0 commit comments