mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-29 14:58:27 +00:00
96720eae32
* feat: Make WINE dep on the compat package
* refactor(update.rhai): For now this is what I got
---------
(cherry picked from commit 3a4078ed58)
Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
9 lines
251 B
Plaintext
9 lines
251 B
Plaintext
let v = [];
|
|
// Only find versions ending in .0. Stable WINE always ends in .0
|
|
for matches in find_all("[\\d.]+\\.0", get("https://dl.winehq.org/wine/source/")) {
|
|
v += matches[0].parse_float();
|
|
}
|
|
v.dedup();
|
|
v.sort();
|
|
rpm.version(v[v.len()-1]);
|