Package: node-css-color-names / 1.0.1+dfsg-1

use-local-file.patch Patch series | download
1
2
3
4
5
6
7
8
9
--- a/getcolors.sh
+++ b/getcolors.sh
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
-curl -sS 'https://www.w3schools.com/colors/colors_names.asp' \
+cat debian/css_color_names.html \
 	| tr -cd '\11\12\15\40-\176' \
 	| egrep '\?(color|hex)=' \
 	| sed -e 's/\r//g' -e 's/<[^>]*>//g' -e 's/\&nbsp;.*$//g' \