mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-07 05:42:42 +00:00
write commented json default config
This commit is contained in:
@@ -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