Use ~/.ooniprobe as the home directory (#101)
* Use ~/.ooniprobe as the home directory Remove all probe-legacy related to code since there is no more conflict between the two Fixes: ooni/probe#972 * Update .gitignore Co-authored-by: Simone Basso <bassosimone@gmail.com>
This commit is contained in:
parent
8d58cb868b
commit
8dff1cc54a
3 changed files with 1 additions and 93 deletions
5
ooni.go
5
ooni.go
|
|
@ -10,7 +10,6 @@ import (
|
|||
"github.com/ooni/probe-cli/internal/bindata"
|
||||
"github.com/ooni/probe-cli/internal/database"
|
||||
"github.com/ooni/probe-cli/internal/enginex"
|
||||
"github.com/ooni/probe-cli/internal/legacy"
|
||||
"github.com/ooni/probe-cli/utils"
|
||||
engine "github.com/ooni/probe-engine"
|
||||
"github.com/pkg/errors"
|
||||
|
|
@ -56,10 +55,6 @@ func (c *Context) Terminate() {
|
|||
func (c *Context) Init(softwareName, softwareVersion string) error {
|
||||
var err error
|
||||
|
||||
if err = legacy.MaybeMigrateHome(); err != nil {
|
||||
return errors.Wrap(err, "migrating home")
|
||||
}
|
||||
|
||||
if err = MaybeInitializeHome(c.Home); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue