Final touch to install fix.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2022-04-01 11:08:26 -07:00
parent c2384ecc6f
commit d45c9fc522
No known key found for this signature in database
GPG key ID: 6055EE2AD4004FC0

View file

@ -1129,7 +1129,7 @@ chooseBlocklists() {
done
# Create an empty adList file with appropriate permissions.
if [ ! -f "${adlistFile}" ]; then
touch "${adlistFile}"
install /dev/null "${adlistFile}"
chmod 644 "${adlistFile}"
fi
}