From f9ad8d6903b3e4a39a3ae3963dbcdcee4b143a91 Mon Sep 17 00:00:00 2001 From: chai2010 Date: Mon, 24 Nov 2014 10:58:39 +0800 Subject: [PATCH] Fix #656 --- cmd/dump.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dump.go b/cmd/dump.go index fe3763f07..3e1ccdb8a 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -58,7 +58,7 @@ func runDump(ctx *cli.Context) { workDir, _ := setting.WorkDir() z.AddFile("gogs-repo.zip", path.Join(workDir, "gogs-repo.zip")) z.AddFile("gogs-db.sql", path.Join(workDir, "gogs-db.sql")) - z.AddFile("custom/conf/app.ini", path.Join(workDir, "custom/conf/app.ini")) + z.AddDir("custom", path.Join(workDir, "custom")) z.AddDir("log", path.Join(workDir, "log")) // FIXME: SSH key file. if err = z.Close(); err != nil {