Skip to content

Commit

Permalink
fix: proper number of steps for main system driver
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Dec 12, 2024
1 parent ee35521 commit a868595
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ func Update(cmd *cobra.Command, args []string) {
slog.Debug("No system update found, disabiling module")
}

totalSteps := brewUpdater.Steps() + mainSystemDriver.Steps() + flatpakUpdater.Steps() + distroboxUpdater.Steps()
totalSteps := brewUpdater.Steps() + flatpakUpdater.Steps() + distroboxUpdater.Steps()
if enableUpd {
totalSteps += mainSystemDriver.Steps()
}
pw := lib.NewProgressWriter()
pw.SetNumTrackersExpected(1)
pw.SetAutoStop(false)
Expand Down

0 comments on commit a868595

Please sign in to comment.