pkg(1): change default $pkgpath to http://r-36.net/9front/pkg/$cputype

front
stanley lieber 2012-04-07 14:34:39 -05:00
parent ba9b009f52
commit 2f2e313a47
3 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ source files of packages installed locally.
.br
.B /sys/src/cmd/pkg/unpkg.c
.SH REPOSITORIES
.B http://pkg.violetti.org/386
.B http://r-36.net/pkg/386
.br
.B http://plan9.stanleylieber.com/pkg/386
.SH SEE ALSO

View File

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

View File

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