Remove possible duplicates found in lower-quality adlists

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/3033/head
DL6ER 5 years ago
parent 5457b2c6ea
commit bd1b004d94
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -160,10 +160,11 @@ database_table_from_file() {
fi
done
fi
inputfile="${tmpFile}"
# Remove possible duplicates found in lower-quality adlists
uniq -u "${inputfile}" "${inputfile}"
# Store domains in database table specified by ${table}
# Use printf as .mode and .import need to be on separate lines
# see https://unix.stackexchange.com/a/445615/83260

Loading…
Cancel
Save