firefox: Fix update.nix

This commit is contained in:
taku0 2018-03-14 21:01:25 +09:00
parent 6093270451
commit 13df7202d7

View file

@ -22,7 +22,7 @@ writeScript "update-${attrPath}" ''
# - removes trailing slash
# - sorts everything with semver in mind
# - picks up latest release
version=`xidel -q $url --extract "//a" | \
version=`xidel -s $url --extract "//a" | \
grep "^[0-9.]*${versionSuffix}/$" | \
sed s/[/]$// | \
sort --version-sort | \