wine: fix for updateScript

This commit is contained in:
Ryan Hendrickson 2022-12-29 11:45:29 -05:00 committed by Stefan Frijters
parent cf692195c5
commit b0ec519e3d
No known key found for this signature in database
GPG Key ID: 7619A6BC6E7DFA6F

View File

@ -54,7 +54,7 @@ in rec {
updateScript = writeShellScript "update-wine-stable" (''
${updateScriptPreamble}
major=''${UPDATE_NIX_OLD_VERSION%.*}
major=''${UPDATE_NIX_OLD_VERSION%%.*}
latest_stable=$(get_latest_wine_version "$major.0")
latest_gecko=$(get_latest_lib_version wine-gecko)
@ -86,7 +86,7 @@ in rec {
updateScript = writeShellScript "update-wine-unstable" ''
${updateScriptPreamble}
major=''${UPDATE_NIX_OLD_VERSION%.*}
major=''${UPDATE_NIX_OLD_VERSION%%.*}
latest_unstable=$(get_latest_wine_version "$major.x")
latest_mono=$(get_latest_lib_version wine-mono)