Fix apk remove command
This commit is contained in:
@@ -84,7 +84,7 @@ func (a *APK) InstallLocal(opts *Opts, pkgs ...string) error {
|
|||||||
|
|
||||||
func (a *APK) Remove(opts *Opts, pkgs ...string) error {
|
func (a *APK) Remove(opts *Opts, pkgs ...string) error {
|
||||||
opts = ensureOpts(opts)
|
opts = ensureOpts(opts)
|
||||||
cmd := a.getCmd(opts, "apt", "del")
|
cmd := a.getCmd(opts, "apk", "del")
|
||||||
cmd.Args = append(cmd.Args, pkgs...)
|
cmd.Args = append(cmd.Args, pkgs...)
|
||||||
setCmdEnv(cmd)
|
setCmdEnv(cmd)
|
||||||
err := cmd.Run()
|
err := cmd.Run()
|
||||||
|
|||||||
Reference in New Issue
Block a user