1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Merge pull request #1687 from spacedingo/patch-2

Add ignore-case switch to sort (domains)
This commit is contained in:
DL6ER 2017-09-08 20:17:38 +02:00 committed by GitHub
commit ca88c59d4e

View File

@ -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})