Try 07
This commit is contained in:
parent
d10e0e1194
commit
b7b3b0bb29
|
@ -44,13 +44,14 @@ func (s *Service) manageRepos(repos map[string]Repository) error {
|
|||
func (s *Service) Manage(templateDir string) error {
|
||||
|
||||
// Manage packages repositories
|
||||
log.Printf("Managing package repositories")
|
||||
err := s.manageRepos(s.Repos)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Manage system packages
|
||||
log.Printf("Installing packages:")
|
||||
log.Printf("Installing packages")
|
||||
for _, pack := range s.Packages {
|
||||
err := pack.Manage()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue