[wpkg-users] Are negative priority levels support?

Stefan Pendl stefan.pendl.71 at gmail.com
Wed Nov 27 22:22:10 CET 2013


Am 27.11.2013 21:29, schrieb Paul Griffith:
> Hi All,
>
>     Does WPKG accept a negative priority level?  I wanted to have a package that runs last after all other packages. This package disable the wpkg service from running at start-up. I tried it, and everything **seem** ;) okay. A quick look at the code didn't reveal anything I should be concerned about. What I want to do is deploy all my packages, then disable WPKG. Then I could run the WPKG updates on a fixed schedule and not at start-up.
>
I would use priority 0 in this case and priority 10 for the other ones.
Generally speaking the priority id just an integer number and will be 
sorted accordingly.

I don't think there should be any negative impact when using negative 
priority, but keeping all priorities in the positive range doesn't hurt 
either.

In more recent releases of WPKG the priority has lower impact on the 
installation order, since you can specify dependencies, chain packages 
and much more.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




More information about the wpkg-users mailing list