From 376a629c9f99893f341e76163e9b61273dd32c28 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 17 Jun 2018 22:18:41 +0800 Subject: repo: add changes to repository avatar feature (#5221) --- cmd/restore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/restore.go') diff --git a/cmd/restore.go b/cmd/restore.go index 9591b044..70ce948e 100644 --- a/cmd/restore.go +++ b/cmd/restore.go @@ -115,7 +115,7 @@ func runRestore(c *cli.Context) error { // Data files if !c.Bool("database-only") { os.MkdirAll(setting.AppDataPath, os.ModePerm) - for _, dir := range []string{"attachments", "avatars"} { + for _, dir := range []string{"attachments", "avatars", "repo-avatars"} { // Skip if backup archive does not have corresponding data srcPath := path.Join(archivePath, "data", dir) if !com.IsDir(srcPath) { -- cgit v1.2.3