Prepare archive root when editing it

This commit is contained in:
Oliver Sauder committed 2017-11-27 11:08:31 +01:00
1 parent b98abcc049
commit 5d301fb1b7
3 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ func aptlyMirrorEdit(cmd *commander.Command, args []string) error {
case "with-udebs":
repo.DownloadUdebs = flag.Value.Get().(bool)
case "archive-url":
repo.ArchiveRoot = flag.Value.String()
repo.SetArchiveRoot(flag.Value.String())
fetchMirror = true
}
})