pkg(1): change default $pkgpath to http://r-36.net/9front/pkg/$cputype
This commit is contained in:
parent
ba9b009f52
commit
2f2e313a47
|
@ -98,7 +98,7 @@ source files of packages installed locally.
|
||||||
.br
|
.br
|
||||||
.B /sys/src/cmd/pkg/unpkg.c
|
.B /sys/src/cmd/pkg/unpkg.c
|
||||||
.SH REPOSITORIES
|
.SH REPOSITORIES
|
||||||
.B http://pkg.violetti.org/386
|
.B http://r-36.net/pkg/386
|
||||||
.br
|
.br
|
||||||
.B http://plan9.stanleylieber.com/pkg/386
|
.B http://plan9.stanleylieber.com/pkg/386
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/rc
|
#!/bin/rc
|
||||||
|
|
||||||
if(~ $#pkgpath 0)
|
if(~ $#pkgpath 0)
|
||||||
pkgpath=http://plan9.stanleylieber.com/pkg/$cputype
|
pkgpath=http://r-36.net/9front/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://plan9.stanleylieber.com/pkg/$cputype
|
pkgpath=http://r-36.net/9front/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