From a86859555f182f01044cf701d65403a42293c566 Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Wed, 11 Dec 2024 21:15:45 -0300 Subject: [PATCH] fix: proper number of steps for main system driver --- cmd/update.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/update.go b/cmd/update.go index 6c7c82c..24c59c9 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -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)