projects
/
php5-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc942c9
)
r3: * postinst - provjera postojanosti direktorija apache, apache2,
author
Dragan Dosen
<ddosen@ffzg.hr>
Wed, 31 Oct 2007 19:25:35 +0000
(19:25 +0000)
committer
Dragan Dosen
<ddosen@ffzg.hr>
Wed, 31 Oct 2007 19:25:35 +0000
(19:25 +0000)
cgi, cli unutar direktorija /etc/php5/.
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
4d73590
..
397757c
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-112,10
+112,14
@@
done
#
for SAPI in apache apache2 cgi cli; do
+ if [ ! -d "$PHP5DIR/$SAPI" ]; then
+ continue
+ fi
+
ini_file="$PHP5DIR/$SAPI/php.ini"
cp_echo "CN: Checking and enabling some CARNet specific parameters in file $ini_file"
-
+
if [ -f "$ini_file" ]; then
cp_check_and_sed "^[[:space:]]*upload_max_filesize[[:space:]]*=[[:space:]]*2M$" \