projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
failsafe optional var, template baserul for downloads
[webi-installers/.git]
/
_common
/
normalize.js
diff --git
a/_common/normalize.js
b/_common/normalize.js
index 8e984ffbf5eb18aa645d41f2158572c85fb49988..6a0830f15405774672f4016b0bb3ebf3dcf90076 100644
(file)
--- a/
_common/normalize.js
+++ b/
_common/normalize.js
@@
-67,6
+67,10
@@
function normalize(all) {
rel.ext = exts[0];
}
}
+
+ if (all.download) {
+ rel.download = all.download.replace(/{{ download }}/, rel.download);
+ }
});
return all;
}