aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-07 19:10:22 +0000
committerrsc <devnull@localhost>2005-01-07 19:10:22 +0000
commit7ee8b4b0db1e780e24bd53f49a56a9e1bef2316f (patch)
tree2c040d2a0de095b45b443dddfcd3c3ed324e2589 /lib
parentc761d0aa4f2b6bc5e8ff7092db1055f0beecf13d (diff)
downloadplan9port-7ee8b4b0db1e780e24bd53f49a56a9e1bef2316f.tar.gz
plan9port-7ee8b4b0db1e780e24bd53f49a56a9e1bef2316f.tar.bz2
plan9port-7ee8b4b0db1e780e24bd53f49a56a9e1bef2316f.zip
rename /usr/local/plan9 for alternate installs
Diffstat (limited to 'lib')
-rw-r--r--lib/moveplan9.files13
-rw-r--r--lib/moveplan9.sh10
2 files changed, 23 insertions, 0 deletions
diff --git a/lib/moveplan9.files b/lib/moveplan9.files
new file mode 100644
index 00000000..fc1312b9
--- /dev/null
+++ b/lib/moveplan9.files
@@ -0,0 +1,13 @@
+bin/"
+bin/""
+bin/Getdir
+bin/adict
+bin/doctype
+bin/g
+bin/lookman
+bin/spell
+bin/src
+bin/start
+bin/stop
+bin/slay
+plumb/basic
diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh
new file mode 100644
index 00000000..85c6d082
--- /dev/null
+++ b/lib/moveplan9.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+p=`cleanname $PLAN9`
+cd $PLAN9
+echo '
+ X ,s;/usr/local/plan9;$p;g
+ X/'/w
+ q
+' | sam -d `cat lib/moveplan9.files` man/man*/*.* # >/dev/null 2>&1
+