|
|
@ -64,6 +64,11 @@ func main() {
|
|
|
|
Overridables: nfpm.Overridables{
|
|
|
|
Overridables: nfpm.Overridables{
|
|
|
|
Files: filesMap,
|
|
|
|
Files: filesMap,
|
|
|
|
ConfigFiles: configsMap,
|
|
|
|
ConfigFiles: configsMap,
|
|
|
|
|
|
|
|
Scripts: nfpm.Scripts{
|
|
|
|
|
|
|
|
PostInstall: *postinst,
|
|
|
|
|
|
|
|
PreRemove: *prerm,
|
|
|
|
|
|
|
|
PostRemove: *postrm,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
@ -76,11 +81,6 @@ func main() {
|
|
|
|
case "deb":
|
|
|
|
case "deb":
|
|
|
|
info.Section = "net"
|
|
|
|
info.Section = "net"
|
|
|
|
info.Priority = "extra"
|
|
|
|
info.Priority = "extra"
|
|
|
|
info.Overridables.Scripts = nfpm.Scripts{
|
|
|
|
|
|
|
|
PostInstall: *postinst,
|
|
|
|
|
|
|
|
PreRemove: *prerm,
|
|
|
|
|
|
|
|
PostRemove: *postrm,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case "rpm":
|
|
|
|
case "rpm":
|
|
|
|
info.Overridables.RPM.Group = "Network"
|
|
|
|
info.Overridables.RPM.Group = "Network"
|
|
|
|
}
|
|
|
|
}
|
|
|
|