Skip to content

Commit

Permalink
Merge pull request #2 from ta2013/ta2013-patch-2
Browse files Browse the repository at this point in the history
Update dump.go
  • Loading branch information
ta2013 authored Dec 26, 2023
2 parents 06c3321 + 7fb2986 commit cb95208
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ func runDump(ctx *cli.Context) error {
fatal("Failed to include gitea-db.sql: %v", err)
}

log.Info("Adding gitea binary file from %s", setting.AppPath)
if err := addFile(w, "gitea", setting.AppPath, verbose); err != nil {
fatal("Failed to include gitea binary file: %v", err)
}

if len(setting.CustomConf) > 0 {
log.Info("Adding custom configuration file from %s", setting.CustomConf)
if err := addFile(w, "app.ini", setting.CustomConf, verbose); err != nil {
Expand Down

0 comments on commit cb95208

Please # to comment.