[Pkg-javascript-commits] [leaflet-markercluster] 15/18: Update CDN URL getting replaced with local non-tracking paths in example files.

Jonas Smedegaard dr at jones.dk
Sat Jan 6 19:29:09 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/1.2.0_dfsg-1
in repository leaflet-markercluster.

commit 13f07b0eed8b0065c1fe3c721030234a98a5e971
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jan 6 20:16:00 2018 +0100

    Update CDN URL getting replaced with local non-tracking paths in example files.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 60b7aa8..aac82f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,7 +72,7 @@ binary-post-install/$(pkg)::
 # use common Debian relative paths (not CDN or source-relative)
 binary-fixup/$(pkg)::
 	perl -pi \
-		-e '$$cdn=qr!http://cdn.leafletjs.com/leaflet-[^/]*!;' \
+		-e '$$cdn=qr!https://unpkg.com/leaflet\@[^/]*/dist/!;' \
 		-e '$$src=qr!\.\./dist!;' \
 		-e 's,(href|src)="\K($$cdn|$$src),$(js-destwebdir),g' \
 		$(exampledir)/*.html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list