pkg/list: handle more directory listings
This commit is contained in:
parent
c9bbe34bf6
commit
82362507f7
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,6 @@ if(~ $#pkgpath 0)
|
|||
pkgpath=http://r-36.net/9front/pkg/$cputype
|
||||
|
||||
if(~ $pkgpath ftp* http*)
|
||||
hget $pkgpath | htmlfmt | grep '\.tbz' | awk '{print $NF}' | sed -e 's/\.tbz.*$//g'
|
||||
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz.*$//g' | awk '{print $NF}'
|
||||
if not
|
||||
ls -p $pkgpath/*.tbz | sed 's/\.tbz.*$//g'
|
||||
|
|
Loading…
Reference in a new issue