Sqg & Sbopkg - build / install only new (not jet installed) packages in a queue
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 Is there a better (automated) way for this task? |
Use the "-k" parameter of sbopkg perhaps?
Code:
-k When used together with -b, -d, or -i, this option tells sbopkg to skip |
you are looking the "-k" option
Code:
sbopkg -k -i queue EDIT: Windu has been faster! |
Many thanks folks!
Didn't remember that option... |
All times are GMT -5. The time now is 10:27 PM. |