Open t0xicCode opened 2 months ago
I don't know enough about Deb to tell, but I will take your word that what you propose is a good thing. I assume that after this change, running hugo
after installing hugo-extended
(and only that Hugo deb) would still point to the correct binary?
As to the nFPM fields, they needs to be added/mapped in the struct here:
I can certainly do that, but I need some help determining what the values should be here in this project.
It would be nice if the hugo_extended deb files declared their package name as
hugo-extended
. TheProvides
,Conflicts
,Replaces
relationship would allow it to satisfy and automatically replace thehugo
package, while making it clear to the user that the extended version was installed.nFPM already supports those fields, so they might just need to be added to the hugoreleaser archive plugin.