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 {
|
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 {
|
||||||
|
|
Loading…
Reference in New Issue