On Mon, 2011-08-22 at 21:03 -0400, James Vega wrote:

> Couldn't the same be achieved with chdist?

I guess so, it wasn't on my radar when I wrote mentorsget.

The advantages of mentorsget are:

      * a shorter more memorable command
      * leaves no files around
      * no setup needed
      * prints nothing

How about a mentorsget script that uses chdist? This would require an
option to make chdist and apt-get a bit more silent. This gets us most
of the above, I guess leaving files around is acceptable here though.

#!/bin/sh
test -d ~/.chdist/mentors/ || chdist -q create mentors 
http://mentors.debian.net/debian unstable main contrib non-free
chdist -q apt-get mentors update
for p ; do chdist apt-get mentors source $p ; done

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to