git: 9front

Download patch

ref: 3accbf015db0a0f2628bd69c0f8ac9c3448b9d25
parent: 52cbabb09f9fa343199cc3ce086895790f52bb38
author: stanley lieber <stanley.lieber@gmail.com>
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$//'
--