Debian Codegraph @

debian/fix-doc-privacy

raw
1 #!/bin/sh
2
3 perl -pi \
4 -e '$$cdn=qr!https://unpkg.com/leaflet\@[^/]*/dist/!;' \
5 -e '$$src=qr!\.\./dist!;' \
6 -e 's,(href|src)="\K($$cdn|$$src),/usr/share/javascript/leaflet,g' \
7 -- example/*.html