Creating a pkg
Andrew Wood
andrewjameswood at ymail.com
Fri Jul 29 17:35:45 UTC 2016
On 28/07/16 22:14, Matthew Seaman wrote:
> Note that
> pkg(8) will automatically calculate the file checksums so you can leave those bits out of
> your manifest
What is the syntax for doing this, what would I put in the files {}
section where the hash would normally go?
> You need to enumerate each file in your package separately. 'dir'
> entries will create a directory -- frequently one that is left empty.
> You don't need to list every directory needed to install all the files
> in the package. They are created automatically when the file is
> installed. You only need a dir entry if the directory wouldn't
> otherwise be created.
Will that directory also be deleted automatically when the package
is removed, I dont need to include an rm in a post deinstall
script?
Thanks
Andrew
More information about the freebsd-questions
mailing list