View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#507
Originally Posted by BluesLee View Post
@hqh: is there a "hidden" command which can be triggered
from the command line and updates the catalogs (fapman
cache)? i want to use it with alarmed in order to browse offline
new packages from extras-devel etc
I've set up a couple of scripts to allow working with the fapman catalogs:

/usr/local/bin/fapt-get
Code:
#!/bin/sh

apt-get -o=Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o=Dir::State::lists=/opt/fapman-cache/lists $*
/usr/local/bin/fapt-cache
Code:
#!/bin/sh

apt-cache -o=Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o=Dir::State::lists=/opt/fapman-cache/lists $*

Last edited by Rob1n; 2010-11-10 at 18:43. Reason: Corrected shebang in scripts
 

The Following 7 Users Say Thank You to Rob1n For This Useful Post: