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
Install the
.B gopherd
server:
.B mpm
troff macros:
.sp 1
.EX
% pkg/install gopherd-2012.04.15
% pkg/install mpm-2011.05.14
.EE
.SH FILES
.TF
@ -107,7 +107,7 @@ source files of packages installed locally.
.br
.B /sys/src/cmd/pkg/unpkg.c
.SH REPOSITORIES
.B http://r-36.net/9front/pkg/386
.B http://9front.org/pkg/386
.br
.B https://offblast.org/pkg/386
.br

View file

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

View file

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