summaryrefslogtreecommitdiff
path: root/www/horde-base/files/patch-secure.sh
blob: 49e97c6c2b9249f99602b10f353c09deacd62100 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- secure.sh.orig	Sun May 28 05:09:52 2000
+++ secure.sh	Sun Jul  7 11:37:19 2002
@@ -1,17 +1,17 @@
 #!/bin/sh
 
 # Horde Items
-chmod 444 config/horde.php3         > /dev/null 2> /dev/null
-chmod 444 lib/horde.lib                > /dev/null 2> /dev/null
-chmod 444 lib/mime.lib                 > /dev/null 2> /dev/null
+chmod 444 %%HORDEDIR%%/config/horde.php3            > /dev/null 2> /dev/null
+chmod 444 %%HORDEDIR%%/lib/horde.lib                > /dev/null 2> /dev/null
+chmod 444 %%HORDEDIR%%/lib/mime.lib                 > /dev/null 2> /dev/null
 
 # IMP Items
-chmod 444 imp/config/defaults.php3     > /dev/null 2> /dev/null
-chmod 444 imp/lib/imp.lib              > /dev/null 2> /dev/null
-chmod 444 imp/lib/mimetypes.lib        > /dev/null 2> /dev/null
+chmod 444 %%HORDEDIR%%/imp/config/defaults.php3     > /dev/null 2> /dev/null
+chmod 444 %%HORDEDIR%%/imp/lib/imp.lib              > /dev/null 2> /dev/null
+chmod 444 %%HORDEDIR%%/imp/lib/mimetypes.lib        > /dev/null 2> /dev/null
 
-chmod 000 setup.php3                   > /dev/null 2> /dev/null
-chmod 000 test.php3                    > /dev/null 2> /dev/null
+chmod 000 %%HORDEDIR%%/setup.php3                   > /dev/null 2> /dev/null
+chmod 000 %%HORDEDIR%%/test.php3                    > /dev/null 2> /dev/null
 
 echo 
 echo I have made your configuration files, and libraries mode 0444