aboutsummaryrefslogtreecommitdiff
path: root/tools/_colorFixer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/_colorFixer.sh')
-rwxr-xr-xtools/_colorFixer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/_colorFixer.sh b/tools/_colorFixer.sh
index 30ff1efa8..467f57d34 100755
--- a/tools/_colorFixer.sh
+++ b/tools/_colorFixer.sh
@@ -36,7 +36,7 @@ do
echo ===================================================
echo $file
svg=$(cat $file)
- file_colors=$(grep -o -P 'rgb\((\d+(.\d+)?%,?){3}\)' $file)
+ file_colors=$(grep -o -P 'rgb\((\d+(.\d+)?%,?){3}\)' $file | sort -u)
for file_color in $file_colors
do
new_color=$(findNearestColor $file_color)