mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
write commented json default config
This commit is contained in:
1 parent
622072bd50
commit
ea80f6d49c
8 files changed
+421
-53
No files matched your search
@@ -13,12 +13,16 @@ import (
|
||||
//go:embed VERSION
|
||||
var Version string
|
||||
|
||||
//go:embed debian/aptly.conf
|
||||
var AptlyConf []byte
|
||||
|
||||
func main() {
|
||||
if Version == "" {
|
||||
Version = "unknown"
|
||||
}
|
||||
|
||||
aptly.Version = Version
|
||||
aptly.AptlyConf = AptlyConf
|
||||
|
||||
os.Exit(cmd.Run(cmd.RootCommand(), os.Args[1:], true))
|
||||
}
|
||||
Reference in new issue
Block a user