mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Remove possible duplicates found in lower-quality adlists
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
5457b2c6ea
commit
bd1b004d94
@ -160,10 +160,11 @@ database_table_from_file() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
inputfile="${tmpFile}"
|
inputfile="${tmpFile}"
|
||||||
|
|
||||||
|
# Remove possible duplicates found in lower-quality adlists
|
||||||
|
uniq -u "${inputfile}" "${inputfile}"
|
||||||
|
|
||||||
# Store domains in database table specified by ${table}
|
# Store domains in database table specified by ${table}
|
||||||
# Use printf as .mode and .import need to be on separate lines
|
# Use printf as .mode and .import need to be on separate lines
|
||||||
# see https://unix.stackexchange.com/a/445615/83260
|
# see https://unix.stackexchange.com/a/445615/83260
|
||||||
|
Loading…
Reference in New Issue
Block a user