diff --git a/installer/apt_installer.go b/installer/apt_installer.go index c394cae..edae674 100644 --- a/installer/apt_installer.go +++ b/installer/apt_installer.go @@ -70,7 +70,7 @@ func (i *AptInstaller) CheckNeedsUpdate() (bool, error) { if i.HasCustomUpdateCheck() { return i.RunCustomUpdateCheck() } - err := i.RunCmdPassThrough("apk", "update") + err := i.RunCmdPassThrough(string(i.Data.Type), "update") if err != nil { return false, err }