shithub: riscv

Download patch

ref: ad5ef458f8ced644217671007f51f4d799928829
parent: f28657f0290416604db46568727702d45c0b339b
author: stanley lieber <[email protected]>
date: Thu Jan 5 06:02:24 EST 2012

pkg: change default pkgpath, list known repositories in the man page

--- a/sys/man/1/pkg
+++ b/sys/man/1/pkg
@@ -97,5 +97,9 @@
 .B /sys/src/cmd/pkg/remove
 .br
 .B /sys/src/cmd/pkg/unpkg.c
+.SH REPOSITORIES
+.B http://pkg.violetti.org/386
+.br
+.B http://plan9.stanleylieber.com/pkg/386
 .SH SEE ALSO
 .IR contrib (1)
--- a/sys/src/cmd/pkg/install
+++ b/sys/src/cmd/pkg/install
@@ -1,7 +1,7 @@
 #!/bin/rc
 
 if(~ $#pkgpath 0)
-	pkgpath=http://pkg.violetti.org/$cputype
+	pkgpath=http://plan9.stanleylieber.com/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://pkg.violetti.org/$cputype
+	pkgpath=http://plan9.stanleylieber.com/pkg/$cputype
 
 if(~ $pkgpath ftp* http*)
 	hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz$//'