diff options
| author | 2025-07-22 06:29:25 +0300 | |
|---|---|---|
| committer | 2025-07-22 06:29:25 +0300 | |
| commit | 73fd32eb28753584edb160fc11b0c16078a2ed6d (patch) | |
| tree | 6ced78d1293bea471d6fb3dd29a57e860960385e /src/update.zig | |
| parent | Document that zup 0.6.0 compiles with zig 0.14.1 as well (diff) | |
| download | zup-main.tar.gz zup-main.tar.xz zup-main.zip | |
Diffstat (limited to 'src/update.zig')
| -rw-r--r-- | src/update.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.zig b/src/update.zig index fc1ab51..6ee7951 100644 --- a/src/update.zig +++ b/src/update.zig | |||
| @@ -26,7 +26,7 @@ pub fn main(comptime Result: type, config: Config, _: Result) !void { | |||
| 26 | const inst = kv.value_ptr.*; | 26 | const inst = kv.value_ptr.*; |
| 27 | if (available.get(name)) |avail| { | 27 | if (available.get(name)) |avail| { |
| 28 | if (avail.version.order(inst.version) == .gt) { | 28 | if (avail.version.order(inst.version) == .gt) { |
| 29 | std.log.info("Updating {s} from {} to {}...", .{ name, inst.version, avail.version }); | 29 | std.log.info("Updating {s} from {f} to {f}...", .{ name, inst.version, avail.version }); |
| 30 | try zup.install.base.perform(allocator, name, true, available); | 30 | try zup.install.base.perform(allocator, name, true, available); |
| 31 | } | 31 | } |
| 32 | } | 32 | } |