Skip to content

Commit 692ac1c

Browse files
committed
fix updates
1 parent 826d3fa commit 692ac1c

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

vuru/src/commands/update.odin

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ update_run :: proc(args: []string, config: ^Config) -> int {
3535
return 1
3636
}
3737

38-
return xbps.upgrade_all_official(config.yes, utils.run_command)
38+
// Update official Void packages first
39+
ret := xbps.upgrade_all_official(config.yes, utils.run_command)
40+
if ret != 0 {
41+
return ret
42+
}
43+
44+
// Then update VUP packages
45+
return xbps_upgrade_all(&idx, config.yes)
3946
}
4047

4148
// Compare versions using xbps-uhelper

vuru/src/main.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "core:strings"
88
import commands "commands"
99
import errors "core/errors"
1010

11-
VERSION :: "0.5.4"
11+
VERSION :: "0.5.5"
1212
INDEX_URL :: "https://vup-linux.github.io/vup/index.json"
1313

1414
// Arena size for command execution (4MB should be plenty)

0 commit comments

Comments
 (0)