pkg: change default repo to http://9front.org/pkg/386

This commit is contained in:
stanley lieber 2014-10-12 13:27:53 -04:00
parent 748a95266f
commit ca694c51ef
3 changed files with 6 additions and 6 deletions

View file

@ -80,11 +80,11 @@ Create the package
.LP .LP
Install the Install the
.B gopherd .B mpm
server: troff macros:
.sp 1 .sp 1
.EX .EX
% pkg/install gopherd-2012.04.15 % pkg/install mpm-2011.05.14
.EE .EE
.SH FILES .SH FILES
.TF .TF
@ -107,7 +107,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://r-36.net/9front/pkg/386 .B http://9front.org/pkg/386
.br .br
.B https://offblast.org/pkg/386 .B https://offblast.org/pkg/386
.br .br

View file

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

View file

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