pkg/list: handle werc directory listings
This commit is contained in:
parent
54d2424a7c
commit
761f673032
3 changed files with 5 additions and 1 deletions
1
lib/rsc
1
lib/rsc
|
@ -70,3 +70,4 @@ Interesting, thanks.
|
|||
Ouch
|
||||
Please don't.
|
||||
Test?
|
||||
sure
|
||||
|
|
3
lib/theo
3
lib/theo
|
@ -217,3 +217,6 @@ I see other projects falling into this problem all the time. It is awesome.
|
|||
Ha ha. I watch other projects.
|
||||
We won't commit it.
|
||||
Perhaps.
|
||||
I don't see any problem.
|
||||
As developers we make decisions which we believe serve our users the best.
|
||||
Wow, what's that got to do with anything?
|
||||
|
|
|
@ -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/\.tbz.*$//g'
|
||||
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/• //g; s/\.tbz.*$//g'
|
||||
if not
|
||||
ls -p $pkgpath/*.tbz | sed 's/\.tbz.*$//g'
|
||||
|
|
Loading…
Reference in a new issue