File: use-local-file.patch

package info (click to toggle)
node-css-color-names 0.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 120 kB
  • sloc: sh: 12; makefile: 8
file content (9 lines) | stat: -rw-r--r-- 276 bytes parent folder | 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 'http://xahlee.info/js/css_color_names.html' \
+cat debian/css_color_names.html \
 	| grep 'style="background-color' \
 	| sed -e :a -e 's/<[^>]*>/ /g;/</N;//ba' \
 	| awk '{print $1, $2}' \