Fix apk remove command

This commit is contained in:
Elara 2022-10-01 01:47:07 -07:00
parent 29016fcdb7
commit bb50b55ac5
1 changed files with 1 additions and 1 deletions

View File

@ -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()