fix(apt): fix apt/apk installer command

This commit is contained in:
2025-09-16 16:28:28 +03:00
parent f7eaf6c9e4
commit 777300ed76

View File

@@ -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
}