gaenserich / hostsblock

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

Fix dependency check in install.sh #83

Closed robs898 closed 6 years ago

robs898 commented 6 years ago

Removing the surrounding $() prevents the output being executed which will return an error without an argument.

install.sh fails on bash 4.419/debian sid with "getent utility missing" because it is executing "/usr/bin/getent" not just "which getent"

CloudyProton commented 6 years ago

This enables install.sh to run on my Debian based test system. Why hasn't it been merged yet?

gaenserich commented 6 years ago

@CloudyProton Thanks for the poke. It didn't get merged (until now) since I've been swamped with work and career stuff (namely efforts to get the former and start the latter) for a bit now.