[sbopkg-users] a very tiny patch to speed up in a rare case

l0k1 l0k1 at free.fr
Sun Jul 23 13:30:36 UTC 2017


Hello,


I send you this tiny patch, it's to speed up a bit in the rare case the

user has an empty source cache and still wants to check the obsolete 
packages,

in this case I added a quick flag to exit before starting the loop from 
the actual sources list.


I know it is rare and almost cosmetic but it bit me two time this year :D)


Feel free to use it or not, improve it or modify it as you like

(for instance having a different message as "cache empty" instead of "no 
obsolete sources")


Cheers

PS: I attached two versions of the patch, one against version 0.38.1 and 
the other against the git as of today


Loki Harfagr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbopkg-0.38.1.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <https://sbopkg.org/pipermail/sbopkg-users/attachments/20170723/4aef60ef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbopkg-git-20170723131423.patch
Type: text/x-patch
Size: 643 bytes
Desc: not available
URL: <https://sbopkg.org/pipermail/sbopkg-users/attachments/20170723/4aef60ef/attachment-0001.bin>


More information about the sbopkg-users mailing list