pkg: change default pkgpath, list known repositories in the man page

This commit is contained in:
stanley lieber 2012-01-05 11:02:24 -06:00
parent f28657f029
commit ad5ef458f8
3 changed files with 6 additions and 2 deletions

View file

@ -97,5 +97,9 @@ source files of packages installed locally.
.B /sys/src/cmd/pkg/remove
.br
.B /sys/src/cmd/pkg/unpkg.c
.SH REPOSITORIES
.B http://pkg.violetti.org/386
.br
.B http://plan9.stanleylieber.com/pkg/386
.SH SEE ALSO
.IR contrib (1)

View file

@ -1,7 +1,7 @@
#!/bin/rc
if(~ $#pkgpath 0)
pkgpath=http://pkg.violetti.org/$cputype
pkgpath=http://plan9.stanleylieber.com/pkg/$cputype
cd /
mkdir -p /sys/lib/pkg

View file

@ -1,7 +1,7 @@
#!/bin/rc
if(~ $#pkgpath 0)
pkgpath=http://pkg.violetti.org/$cputype
pkgpath=http://plan9.stanleylieber.com/pkg/$cputype
if(~ $pkgpath ftp* http*)
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz$//'