[csw-users] Converting from Blastwave with pkgutil
Maciej (Matchek) Blizinski
blizinski at google.com
Sat May 9 12:41:59 CEST 2009
On Fri, May 8, 2009 at 8:08 PM, Cody Herriges <c.a.herriges at gmail.com> wrote:
> Still not the point. I am looking for an easy way to obtain the package
> with a consistent name that does not require a package management tool like
> pkg-get to obtain. So I can install pkgutil in the same manner as this part
> (http://www.opencsw.org/pkg-get) of the opencsw webpage instructs you to
> install pkg-get.
Did you mean that you want to do the following?
index_url="http://ftp.math.purdue.edu/mirrors/opencsw.org/unstable/sparc/5.8/"
pkgutil_file="$(wget -O - -q "${index_url}" | grep pkgutil | cut -d\" -f6)"
complete_url="${index_url}/${pkgutil_file}"
wget -O pkgutil.pkg "${complete_url}"
Maciej
More information about the users
mailing list