common-updater, firefox: fix updater for firefox

This commit is contained in:
taku0
2018-11-16 23:04:54 +09:00
parent fa138b55a6
commit 4bb9af228e
3 changed files with 13 additions and 4 deletions
@@ -9,6 +9,7 @@
, attrPath
, baseUrl ? "http://archive.mozilla.org/pub/firefox/releases/"
, versionSuffix ? ""
, versionKey ? "version"
}:
writeScript "update-${attrPath}" ''
@@ -28,5 +29,5 @@ writeScript "update-${attrPath}" ''
sort --version-sort | \
tail -n 1`
update-source-version ${attrPath} "$version"
update-source-version ${attrPath} "$version" "" "" ${versionKey}
''