gaenserich / hostsblock

an ad- and malware-blocking script for Linux
https://github.com/gaenserich/hostsblock
225 stars 28 forks source link

invalid gzip option #42

Closed davidbecker closed 9 years ago

davidbecker commented 9 years ago

I installed hostsblock from AUR, the mentioned /etc/hostsblock/rc.conf file wasn't created (it appears to be that the hostsblock.conf file is the file that holds the configuration now, so the documentation is probably out of date)

$ ls /etc/hostsblock 
black.list  hosts.head  hostsblock.conf  white.list

so I just ran

$ sudo /usr/bin/hostsblock
gzip: invalid option -- 'z'
Try `gzip --help' for more information.

on a subsequent run there was no message, and I got my shell back after a few seconds

edit: when I clear the cache directory in /var/cache/hostsblock/ I get the message back

ilpianista commented 9 years ago

Duplicate of #34

Sadi58 commented 9 years ago

@davidbecker : it seems the AUR package is outdated as this issue has been resolved here in git version.

davidbecker commented 9 years ago

@Sadi58 you are right about that, I just looked at the *.tar.gz in AUR and the script is indeed different to the current git version.