wip
This commit is contained in:
12
install.go
12
install.go
@@ -51,6 +51,10 @@ func InstallCmd() *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := utils.ExitIfCantDropCapsToAlrUser(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
ctx := c.Context
|
||||
|
||||
args := c.Args()
|
||||
@@ -62,7 +66,7 @@ func InstallCmd() *cli.Command {
|
||||
New(ctx).
|
||||
WithConfig().
|
||||
WithDB().
|
||||
WithReposNoPull().
|
||||
WithRepos().
|
||||
WithDistroInfo().
|
||||
WithManager().
|
||||
Build()
|
||||
@@ -81,12 +85,6 @@ func InstallCmd() *cli.Command {
|
||||
}
|
||||
defer cleanup()
|
||||
|
||||
if deps.Cfg.AutoPull() {
|
||||
if err := deps.Repos.Pull(ctx, deps.Cfg.Repos()); err != nil {
|
||||
return cliutils.FormatCliExit(gotext.Get("Error pulling repositories"), err)
|
||||
}
|
||||
}
|
||||
|
||||
err = builder.InstallPkgs(
|
||||
ctx,
|
||||
&build.BuildArgs{
|
||||
|
||||
Reference in New Issue
Block a user