summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2012-01-05 11:02:24 -0600
committerstanley lieber <stanley.lieber@gmail.com>2012-01-05 11:02:24 -0600
commitad5ef458f8ced644217671007f51f4d799928829 (patch)
tree63c923eae0d3dbf32b5ebbeeab43d32d3c29a48c /sys
parentf28657f0290416604db46568727702d45c0b339b (diff)
pkg: change default pkgpath, list known repositories in the man page
Diffstat (limited to 'sys')
-rw-r--r--sys/man/1/pkg4
-rwxr-xr-xsys/src/cmd/pkg/install2
-rwxr-xr-xsys/src/cmd/pkg/list2
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$//'