shithub: riscv

Download patch

ref: ca694c51efbcab0e9dd7421f395cfbb4b573b90e
parent: 748a95266fccc6ad85913fbaa9fc197ccfdf728c
author: stanley lieber <stanley.lieber@gmail.com>
date: Sun Oct 12 09:27:53 EDT 2014

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

--- a/sys/man/1/pkg
+++ b/sys/man/1/pkg
@@ -80,11 +80,11 @@
 
 .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 @@
 .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
--- a/sys/src/cmd/pkg/install
+++ b/sys/src/cmd/pkg/install
@@ -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
--- a/sys/src/cmd/pkg/list
+++ b/sys/src/cmd/pkg/list
@@ -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}'