mirror of
https://github.com/chenasraf/sofmani.git
synced 2026-05-18 01:29:02 +00:00
fix(apt): fix apt/apk installer command
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user