From ad5ef458f8ced644217671007f51f4d799928829 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Thu, 5 Jan 2012 11:02:24 -0600 Subject: [PATCH] pkg: change default pkgpath, list known repositories in the man page --- sys/man/1/pkg | 4 ++++ sys/src/cmd/pkg/install | 2 +- sys/src/cmd/pkg/list | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/man/1/pkg b/sys/man/1/pkg index 86b9ae6eb..d57409e46 100644 --- a/sys/man/1/pkg +++ b/sys/man/1/pkg @@ -97,5 +97,9 @@ source files of packages installed locally. .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) diff --git a/sys/src/cmd/pkg/install b/sys/src/cmd/pkg/install index c7b03a805..f97d17313 100755 --- 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 diff --git a/sys/src/cmd/pkg/list b/sys/src/cmd/pkg/list index cdc8059f5..8b6e8ea80 100755 --- 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$//'