summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2020-02-16 12:39:56 +0100
committerJohannes 'josch' Schauer <josch@debian.org>2020-02-16 12:44:07 +0100
commitd180b7105a27205829dba45d4c206369d6a58df7 (patch)
tree82ec1a53172165489d1e30df8bc4d513673607b1
parent893b2c36cec96201655adf3eaddcc007be9b5692 (diff)
debian/watch: fix download url https -> http and mangle to use https later
-rw-r--r--debian/watch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 9b59758ef..532bbbb60 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,6 @@
version=3
-opts="dversionmangle=s/\+ds$//,downloadurlmangle=s/lcad([\d]+).zip/completeCA.zip/" \
+opts="dversionmangle=s/\+ds$//,downloadurlmangle=s/^http:/https:/;s/lcad([\d]+).zip/completeCA.zip/" \
https://www.ldraw.org/parts/latest-parts.html \
- https://www.ldraw.org/library/updates/lcad([\d]+).zip \
+ http://www.ldraw.org/library/updates/lcad([\d]+).zip \
debian /bin/sh debian/repack.sh