This commit is contained in:
Philippe Caseiro 2022-06-30 09:53:58 +02:00
parent d10e0e1194
commit b7b3b0bb29
1 changed files with 2 additions and 1 deletions

View File

@ -44,13 +44,14 @@ func (s *Service) manageRepos(repos map[string]Repository) error {
func (s *Service) Manage(templateDir string) error { func (s *Service) Manage(templateDir string) error {
// Manage packages repositories // Manage packages repositories
log.Printf("Managing package repositories")
err := s.manageRepos(s.Repos) err := s.manageRepos(s.Repos)
if err != nil { if err != nil {
return err return err
} }
// Manage system packages // Manage system packages
log.Printf("Installing packages:") log.Printf("Installing packages")
for _, pack := range s.Packages { for _, pack := range s.Packages {
err := pack.Manage() err := pack.Manage()
if err != nil { if err != nil {