~jamesodhunt/snappy/log-commands-that-change-system-state

« back to all changes in this revision

Viewing changes to cmd/snappy-go/cmd_install.go

  • Committer: Snappy Tarmac
  • Author(s): Sergio Schvezov
  • Date: 2015-03-20 11:41:40 UTC
  • mfrom: (243.1.1 snappy)
  • Revision ID: snappy_tarmac-20150320114140-khkewzou1jidjyp3
Move message printing when installing out of the snappy package and into the main package by sergiusens approved by mvo

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
        }
25
25
 
26
26
        for _, part := range args {
 
27
                fmt.Printf("Installing %s\n", part)
27
28
                err = snappy.Install(part)
28
29
                if err == snappy.ErrPackageNotFound {
29
30
                        return fmt.Errorf("No package '%s' for %s", part, ubuntuCoreChannel())