minor changes

- logs the number of items in individual blocklists (easier to troubleshoot)
- seting logfile in set_env
- unzip overwrites files while updating.
This commit is contained in:
robocopAlpha 2021-07-16 04:40:34 +03:00
parent 83c90411b7
commit 808b31d0d1
4 changed files with 9 additions and 9 deletions

View file

@ -38,7 +38,7 @@ if [ ! -f "$LOGFILE" ] ; then
fi
echo "pihole being udpdated on: $(date)" | tee -a "$LOGFILE"
curl -L 'https://www.dropbox.com/sh/oyjii6ndqduixt8/AADn57717lc0TE4AW5dxB0p4a?dl=1' --output ./blocklist.zip && unzip ./blocklist.zip
curl -L 'https://www.dropbox.com/sh/oyjii6ndqduixt8/AADn57717lc0TE4AW5dxB0p4a?dl=1' --output ./blocklist.zip && unzip -o ./blocklist.zip
rm ./blocklist.zip
xz -fd MyBlocklist.txt.xz
xz -fd facebook_block.txt.xz