diff --git a/catalogue/catalogue.go b/catalogue/catalogue.go index fbd79628a..b4a36dea5 100644 --- a/catalogue/catalogue.go +++ b/catalogue/catalogue.go @@ -52,7 +52,7 @@ type App struct { } func (a App) EnsureExists() error { - appDir := path.Join(config.ABRA_DIR, a.Name) + appDir := path.Join(config.ABRA_DIR, "apps", strings.ToLower(a.Name)) if _, err := os.Stat(appDir); os.IsNotExist(err) { url := fmt.Sprintf("%s/%s.git", config.REPOS_BASE_URL, a.Name) _, err := git.PlainClone(appDir, false, &git.CloneOptions{URL: url, Tags: git.AllTags})