pkg: change default pkgpath, list known repositories in the man page
This commit is contained in:
parent
f28657f029
commit
ad5ef458f8
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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$//'
|
||||
|
|
Loading…
Reference in a new issue