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
|
.B /sys/src/cmd/pkg/remove
|
||||||
.br
|
.br
|
||||||
.B /sys/src/cmd/pkg/unpkg.c
|
.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
|
.SH SEE ALSO
|
||||||
.IR contrib (1)
|
.IR contrib (1)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/rc
|
#!/bin/rc
|
||||||
|
|
||||||
if(~ $#pkgpath 0)
|
if(~ $#pkgpath 0)
|
||||||
pkgpath=http://pkg.violetti.org/$cputype
|
pkgpath=http://plan9.stanleylieber.com/pkg/$cputype
|
||||||
|
|
||||||
cd /
|
cd /
|
||||||
mkdir -p /sys/lib/pkg
|
mkdir -p /sys/lib/pkg
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/rc
|
#!/bin/rc
|
||||||
|
|
||||||
if(~ $#pkgpath 0)
|
if(~ $#pkgpath 0)
|
||||||
pkgpath=http://pkg.violetti.org/$cputype
|
pkgpath=http://plan9.stanleylieber.com/pkg/$cputype
|
||||||
|
|
||||||
if(~ $pkgpath ftp* http*)
|
if(~ $pkgpath ftp* http*)
|
||||||
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz$//'
|
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz$//'
|
||||||
|
|
Loading…
Reference in a new issue