[hackers] [diri] diric should be installed in /etc

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Tue Feb 13 15:20:00 2007

changeset: 66:e9be902d5986
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Tue Feb 13 15:19:45 2007 +0100
summary: diric should be installed in /etc

diff -r 6961090f1436 -r e9be902d5986 README
--- a/README Mon Feb 12 11:42:11 2007 +0100
+++ b/README Tue Feb 13 15:19:45 2007 +0100
@@ -32,7 +32,8 @@ located.
 
 Afterwards perform following steps:
 
- cp *rc /var/www/
+ cp dirirc /etc
+ cp *.rc /var/www/
   mkdir /var/www/diri
   chown www-data /var/www/diri
   chmod 700 /var/www/diri
diff -r 6961090f1436 -r e9be902d5986 edit.rc
--- a/edit.rc Mon Feb 12 11:42:11 2007 +0100
+++ b/edit.rc Tue Feb 13 15:19:45 2007 +0100
@@ -1,5 +1,5 @@
 #!/usr/local/plan9/bin/rc
-. /var/www/dirirc
+. /etc/dirirc
 
 if(! test $PATH_INFO || echo $PATH_INFO | grep -v -s '^[a-zA-Z0-9_/]+$'
         || echo $PATH_INFO | grep -v -s '[a-zA-Z0-9]')
diff -r 6961090f1436 -r e9be902d5986 remove.rc
--- a/remove.rc Mon Feb 12 11:42:11 2007 +0100
+++ b/remove.rc Tue Feb 13 15:19:45 2007 +0100
@@ -1,5 +1,5 @@
 #!/usr/local/plan9/bin/rc
-. /var/www/dirirc
+. /etc/dirirc
 
 fn redirect {
         echo Location: $ADDRESS/$"*
diff -r 6961090f1436 -r e9be902d5986 save.rc
--- a/save.rc Mon Feb 12 11:42:11 2007 +0100
+++ b/save.rc Tue Feb 13 15:19:45 2007 +0100
@@ -1,5 +1,5 @@
 #!/usr/local/plan9/bin/rc
-. /var/www/dirirc
+. /etc/dirirc
 
 fn redirect {
         echo Location: $ADDRESS/$"*
diff -r 6961090f1436 -r e9be902d5986 show.rc
--- a/show.rc Mon Feb 12 11:42:11 2007 +0100
+++ b/show.rc Tue Feb 13 15:19:45 2007 +0100
@@ -1,5 +1,5 @@
 #!/usr/local/plan9/bin/rc
-. /var/www/dirirc
+. /etc/dirirc
 
 fn menu {
         ls -F $1 | sed 's,^\./,,' | awk -v urlbase'='$ADDRESS/$SHOW/ '
Received on Tue Feb 13 2007 - 15:20:00 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:16 UTC