A question (sugestion) please

Baptiste Daroussin bapt at FreeBSD.org
Wed Jul 8 19:24:05 UTC 2015


On Wed, Jul 08, 2015 at 05:23:59PM +0000, Ovidiu Angelescu via freebsd-pkg wrote:
> HelloMy name is Angelescu Ovidiu and I used to develop an old live iso called RoFreeSBIE.I am trying to help now GhostBSD project.I like very much actual pkgng (pkg ) tool.The question is:Does actual pkg has triggers as debian apt ?Triggers are very usefull especially when upgrading/updating packages.In debian if package_1 install a trigger it is added in packages database and if package_2 writes files under certains directories defined by trigger installed by package_1 then it's launched trigered script installed by package_1.
> As an example package_1  is a configuration package for package_2 but it's slight different than package_2 default config file. let's say I want astabasta.jpg as background for kdm instead of kdm default.jpg.When kdm is updated/upgraded in config file kdm default.jpg is restored.If there are triggers a trigger search if I have astabasta.jpg instead of default.jpg and if not it changes to astabasta.
> If actual pkg doesn't have triggers please implement this.It is very usefull especially for rolling distro's and can be used when upgrading/updating packages.
> Thank you
> 
> 
> _______________________________________________
> freebsd-pkg at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-pkg
> To unsubscribe, send any mail to "freebsd-pkg-unsubscribe at freebsd.org"

Triggers does not yet exist in pkg, it is a really useful feature (rather
complex to get done properly), but I am affraid that this is really low on the
TODO list please open a ticket on our github so maybe a volunteer will come in
and work on that suggest ( we are a small team and there is lot of things to
work on in pkg)

https://github.com/freebsd/pkg

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20150708/a02e3037/attachment.bin>


More information about the freebsd-pkg mailing list