Fix apk remove command

master
Arsen Musayelyan 2 months ago
parent 29016fcdb7
commit bb50b55ac5

@ -84,7 +84,7 @@ func (a *APK) InstallLocal(opts *Opts, pkgs ...string) error {
func (a *APK) Remove(opts *Opts, pkgs ...string) error {
opts = ensureOpts(opts)
cmd := a.getCmd(opts, "apt", "del")
cmd := a.getCmd(opts, "apk", "del")
cmd.Args = append(cmd.Args, pkgs...)
setCmdEnv(cmd)
err := cmd.Run()

Loading…
Cancel
Save