From d2bce8ff92e9838e39daba01467f2b7bd8c06b20 Mon Sep 17 00:00:00 2001 From: gerblesh <101901964+gerblesh@users.noreply.github.com> Date: Wed, 25 Dec 2024 15:03:38 -0800 Subject: [PATCH] fix: don't disable updates within drv.new() --- drv/brew/brew.go | 1 - drv/distrobox/distrobox.go | 1 - 2 files changed, 2 deletions(-) diff --git a/drv/brew/brew.go b/drv/brew/brew.go index ebd97ca..0fc0e93 100644 --- a/drv/brew/brew.go +++ b/drv/brew/brew.go @@ -99,7 +99,6 @@ func (up BrewUpdater) New(config UpdaterInitConfiguration) (BrewUpdater, error) uid, err := up.GetBrewUID() if err != nil { - up.Config.Enabled = false return up, err } up.BaseUser = uid diff --git a/drv/distrobox/distrobox.go b/drv/distrobox/distrobox.go index b2ee2d1..6ad670e 100644 --- a/drv/distrobox/distrobox.go +++ b/drv/distrobox/distrobox.go @@ -52,7 +52,6 @@ func (up DistroboxUpdater) New(config UpdaterInitConfiguration) (DistroboxUpdate inf, err := os.Stat(up.binaryPath) if err != nil { - up.Config.Enabled = false return up, err } // check if file is executable using bitmask