diff options
author | Unknwon <u@gogs.io> | 2018-06-17 22:18:41 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-06-17 22:18:41 +0800 |
commit | 376a629c9f99893f341e76163e9b61273dd32c28 (patch) | |
tree | 4e3e1320c19d73c2282ff82c8d6aafb569ed9d87 /cmd/restore.go | |
parent | 303fa37b608a4925f5a0137c89e20a906b3d9fdb (diff) |
repo: add changes to repository avatar feature (#5221)
Diffstat (limited to 'cmd/restore.go')
-rw-r--r-- | cmd/restore.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |