Article 5NYNH Sqg & Sbopkg - build / install only new (not jet installed) packages in a queue

Sqg & Sbopkg - build / install only new (not jet installed) packages in a queue

by
joenew
from LinuxQuestions.org on (#5NYNH)
Hi all,
I was wondering if there was an out-of-box way to give sbopkg a queue, generated with sqg, and prevent to build already installed packages.

In other words I want to:
- create a queue file with sqg (sqg -p package)
- launch sbopkg on that queue file (sbopkg -i package)
- but compile/build just the new packages of the queue, wasting no time with those yet installed

At now, I launched a little dirty oneliner like this to edit queue generated by sqg:
Code:while read p; do if ls /var/log/packages |grep -q $p; then echo $p; else echo $p >> newqueue.sqf; fi; done < /var/lib/sbopkg/queues/oldqueue.sqfAnd finally used it with sbopkg... But...

Is there a better (automated) way for this task?latest?d=yIl2AUoC8zA latest?i=-ntJoSVspuQ:xQ82szwYBDY:F7zBnMy latest?i=-ntJoSVspuQ:xQ82szwYBDY:V_sGLiP latest?d=qj6IDK7rITs latest?i=-ntJoSVspuQ:xQ82szwYBDY:gIN9vFw-ntJoSVspuQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments