mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Add ignore-case switch to sort (domains)
Domains with caps pass off as unique. It is necessary for proper duplicate removal. Example: ::: /etc/pihole/list.preEventHorizon (2 results) adsatt.abcnews.starwave.com Adsatt.ABCNews.starwave.com
This commit is contained in:
parent
d7d53849a3
commit
f5a1fa21f7
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ gravity_unique() {
|
|||
local str="Removing duplicate domains"
|
||||
echo -ne " ${INFO} ${str}..."
|
||||
|
||||
sort -u ${piholeDir}/${supernova} > ${piholeDir}/${preEventHorizon}
|
||||
sort -u -f ${piholeDir}/${supernova} > ${piholeDir}/${preEventHorizon}
|
||||
|
||||
echo -e "${OVER} ${TICK} ${str}"
|
||||
numberOf=$(wc -l < ${piholeDir}/${preEventHorizon})
|
||||
|
|
Loading…
Reference in a new issue