summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2013-09-18 15:25:18 -0400
committerstanley lieber <stanley.lieber@gmail.com>2013-09-18 15:25:18 -0400
commit25e5507c5789f573b403a64ae680af7fd5b75691 (patch)
treefaaa057e1fa83db0a4fb7fbe4d3dea043b145011
parent4d9ce0fb3cb85fe5d41826d29c2fdebbacfe56db (diff)
downloadplan9front-25e5507c5789f573b403a64ae680af7fd5b75691.tar.xz
pkg(1): fix for plan9.bell-labs.com; update repository list
-rw-r--r--sys/man/1/pkg2
-rwxr-xr-xsys/src/cmd/pkg/list2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/1/pkg b/sys/man/1/pkg
index 3397943ad..84717fbcf 100644
--- a/sys/man/1/pkg
+++ b/sys/man/1/pkg
@@ -113,7 +113,7 @@ source files of packages installed locally.
.br
.B http://bell-labs.co/9front/pkg/386
.br
-.B http://ports2plan9.googlecode.com/files
+.B http://plan9.bell-labs.com/sources/contrib/staal1978/pkg
.SH SEE ALSO
.IR contrib (1) ,
.IR gzip (1) ,
diff --git a/sys/src/cmd/pkg/list b/sys/src/cmd/pkg/list
index c211d48d2..269b34e08 100755
--- a/sys/src/cmd/pkg/list
+++ b/sys/src/cmd/pkg/list
@@ -4,6 +4,6 @@ if(~ $#pkgpath 0)
pkgpath=http://r-36.net/9front/pkg/$cputype
if(~ $pkgpath ftp* http*)
- hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/• //g; s/\.tbz.*$//g'
+ hget $pkgpath | htmlfmt | grep '\.tbz' | awk '{print $NF}' | sed -e 's/\.tbz.*$//g'
if not
ls -p $pkgpath/*.tbz | sed 's/\.tbz.*$//g'