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.sqf
And finally used it with sbopkg... But...
Is there a better (automated) way for this task?